Compiler Command: aoc -v -profile kernel_ND_c2.cl -o bin/kernel_ND_c2_unsigned.aocx -board=pac_a10 -report Compiler Warning: kernel_ND_c2.cl:33: declaring global arguments 'row', 'col', 'd', 'rho', 'p' and 'cont' with no 'restrict' may lead to low performance for kernel 'bfs_kernel' Compiler Warning: kernel_ND_c2.cl:118: declaring global arguments 'row', 'col', 'd', 'rho', 'sigma', 'p' and 'bc' with no 'restrict' may lead to low performance for kernel 'backtrack_kernel' Compiler Warning: kernel_ND_c2.cl:192: declaring global arguments 'd', 'sigma' and 'bc' with no 'restrict' may lead to low performance for kernel 'back_sum_kernel' Compiler Warning: kernel_ND_c2.cl:230: declaring global arguments 'dist_array', 'sigma' and 'rho' with no 'restrict' may lead to low performance for kernel 'clean_1d_array' ******* Error: Assert failure at /build/psgswbuild/nightly/19.4/64/l64/p4/acl/llvm/lib/Transforms/FPGAUtils/FuncMerging.cpp(505) ******* Couldn't legalize this block! !dieOnError FAILED Stack dump: 0. Program arguments: /opt/intelFPGA_pro/quartus_19.2.0b57/hld/linux64/bin/../../llvm/bin/aocl-opt -march=fpga -O3 -board /opt/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/hardware/pac_a10/board_spec.xml -profile all -dbg-info-enabled --soft-elementary-math=false -pass-remarks-output=pass-remarks.yaml kernel_ND_c2_unsigned.fpga.bc -o kernel_ND_c2_unsigned.kwgid.bc 1. Running pass 'Pick memory configuration' on module 'kernel_ND_c2_unsigned.fpga.bc'. 2. Running pass 'MemoryCoalescing: Coalesce consecutive memory accesses in work items' on function '@back_sum_kernel' /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2a)[0x7fc12d7b620a] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm3sys17RunSignalHandlersEv+0x4c)[0x7fc12d7b387c] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(+0xe209cc)[0x7fc12d7b39cc] /lib/x86_64-linux-gnu/libpthread.so.0(+0x128a0)[0x7fc12c7868a0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fc12b023f47] /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7fc12b0258b1] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm14FuncUnitMerger24legalizeInstructionOrderEPNS_10BasicBlockEPKN3acl16KernelAttributesEbb+0x193f)[0x7fc12ef491df] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(+0x246a02a)[0x7fc12edfd02a] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x3c6)[0x7fc12d8f84a6] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm6legacy23FunctionPassManagerImpl3runERNS_8FunctionE+0x68)[0x7fc12d8f87f8] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm6legacy19FunctionPassManager3runERNS_8FunctionE+0x5f9)[0x7fc12d8f8ea9] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(+0x249eaf9)[0x7fc12ee31af9] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(+0x24a1e4c)[0x7fc12ee34e4c] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(+0x24a46ec)[0x7fc12ee376ec] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/llvm/bin/../lib/libLLVM-9svn.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x401)[0x7fc12d8f9561] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/linux64/bin/../../llvm/bin/aocl-opt(main+0x2811)[0x5557cb5f7b11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fc12b006b97] /opt/intelFPGA_pro/quartus_19.2.0b57/hld/linux64/bin/../../llvm/bin/aocl-opt(+0x2b6f1)[0x5557cb5f86f1] Aborted (core dumped)