Closed hecmay closed 2 years ago
Not sure what happens. But I see you are accessing /work/shared/common/CAD_tool/Intel/intelFPGA_pro//19.4/hld/examples_aoc. Under that directory should be a hello world like vector add. Try to emulate and run that hello world and see if it works. If it works, something might be wrong with t2s code gen. Otherwise, it might be some other issue.
I think it is my local machine's problem. I am not even able to compile the OpenCL code into AOCX (emulation) uing AOC.
Using build options: -cl-std=CL1.2 -g -s "/work/shared/users/phd/sx233/examples_aoc/vector_add/device/vector_add.cl" -Xclang -O3 -Xclang -Wuninitialized -Xclang -DINTELFPGA_CL=194 -Xclang -ivfsoverlay-lib/work/shared/common/CAD_tool/Intel/intelFPGA_pro/19.4/hld/linux64/lib/libaoc_clang_decrypt.so -I "/work/shared/users/phd/sx233/examples_aoc/vector_add/device" -I "/work/shared/common/CAD_tool/Intel/intelFPGA_pro/19.4/hld/llvm/include/cclang"
Setting target instruction set architecture to: Default (Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2))
Unable to load OpenCL platforms
See if this threads helps: https://community.intel.com/t5/Intel-High-Level-Design/aoc-error-for-emulation/td-p/1156840
I have not tried aoc 19.4 locally due to some installation issue, but I tried aoc 19.1 before and it works fine.
I am trying to run AOT regression cases on a local machine after installing t2sp. And I got the following errors
Similarly, if I run
realize()
directly on FPGA target (using emulation mode), I would get the following errors from JITModule@ronghongbo @haoxiaochen