Forum Discussion
TTwom
New Contributor
6 years agoOneAPI error using #pragma unroll
I am attempting to compile a program on DevCloud node s001-n081 and I am getting the following error:
aocl-llvm-spirv: /nfs/site/disks/swbld_ops_1/TOR/hld/nightly/20.3api/117.1/l64/p4/acl/llvm-pr...
AnilErinch_A_Intel
Frequent Contributor
6 years agoHi ,
Can you share the command used for compilation so that we can have a look.
Thanks and Regards
Anil
TTwom
New Contributor
6 years agoThe commands used for compilation are:
dpcpp -O2 -g -std=c++17 -fintelfpga -c src/sobel-buffers.cpp -o a.o -DFPGA=1
dpcpp -O2 -g -std=c++17 -fintelfpga a.o -o sobel-buffers.fpga -Xshardware -Xsprofile