Forum Discussion
MuhammadAr_U_Intel
Contributor
6 years agoHi,
I am looking at this case, I have taken the krnl_chtest.cl file along with the makefile. I don't have the bittware BSP with me right now, I tried to replicate the reported issue with A10 BSP. I did not get any Error as mentioned.
Here is the console output I got.
/data/ts_farm/mausman/OpenCL/OpenCL_SR/f_external_io_chanel/191$ make trigger_bug
aoc -v -v -v -D__TRIGGER_BUG__ -rtl -report -g krnl_chtest.cl -o krnl_chtest.aocr -board="a10gx" -no-interleaving=default
##aoc: Environment checks are completed successfully.
##aoc: Cached files in /var/tmp/aocl/mausman may be used to reduce compilation time
##aoc: Selected target board a10gx
##aoc: Running OpenCL parser.......
..............
##aoc: OpenCL parser completed successfully.
##aoc: Linking Object files....
..............
##aoc: Checking if memory usage is larger than 100%...
##aoc: Memory usage is not above 100.
remove krnl_chtest.fpga.bc
!===========================================================================
! The report below may be inaccurate. A more comprehensive
! resource usage report can be found at krnl_chtest/reports/report.html
!===========================================================================
+--------------------------------------------------------------------+
; Estimated Resource Usage Summary ;
+----------------------------------------+---------------------------+
; Resource + Usage ;
+----------------------------------------+---------------------------+
; Logic utilization ; 16% ;
; ALUTs ; 8% ;
; Dedicated logic registers ; 8% ;
; Memory blocks ; 7% ;
; DSP blocks ; 0% ;
+----------------------------------------+---------------------------;
remove krnl_chtest.bc
/swip_build/archive/acl/19.1/240/linux64/linux64/bin/system_integrator --cic-global_no_interleave --bsp-flow top --rand-hash 2908f34e4d35f0b3647193d1eeddff6f01d0040b /tools/acl/19.1/240/linux64/board/a10_ref/hardware/a10gx/board_spec.xml "krnl_chtest.bc.xml" none
remove area_src.json
remove area.json
remove loops.json
remove summary.json
remove lmv.json
remove mav.json
remove info.json
remove warnings.json
remove quartus.json
remove fmax_ii.json
remove tree.json
remove new_lmv.json
remove block.json
remove pipeline.json
##aoc: First stage compilation completed successfully.
Thanks,
Arslan
GGene
New Contributor
6 years agoHi Arslan,
Thanks for performing this test.
We noticed the BSP you did your testing with was named the "a10gx" BSP. If this BSP is unaltered then it does not contain any channels and whilst the compiler may have passed rtl generation it will probably fail later on in the compilation process. However, the Intel "a10gx_hostpipe" BSP does contain IO channels and we were able to recreate the bug/error with his BSP. Attached is modified kernel code and compilation output
Could you please try the BSP with the IO channel and verify you can replicate the issue?
Thanks,
Gildas
- GGene6 years ago
New Contributor
Here is the output of the compilation.