Forum Discussion
caron
New Contributor
7 years agoI m trying to emulate my OpenCL Kernel , and I follow the command at 8.3 chapter in getting started Guide. But it came out an error
I m trying to emulate my OpenCL Kernel , and I follow the command at 8.3 chapter in getting started Guide. I used the following command, but it came out the error : env: main: No such file or direct...
HRZ
Frequent Contributor
7 years agoYou are trying to "execute" your source file instead of the binary. You should first compile the kernel code using -march=emulator switch and compile the host code normally and then execute the host code binary using the CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1 variable.
P.S. It is best if you post OpenCL-related questions in the High Level Design section.