Forum Discussion
Kulkarni__Vinay
New Contributor
7 years agoaoc error for emulation
Hi, I installed opencl intel fpga sdk 19.2 and after installation the hello world example seems to compile smoothly taking default board as Arria10GX. But when i try giving the emulator compilati...
- 7 years ago
Vinay,
Please, check that you set the environment variable CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=<number_of_devices>.
For more information about emulating OpenCL Kernels read here.
Best regards,
Sergey
Sergey_I_Intel1
New Contributor
7 years agoHello Vinay,
Sorry for delay in answer.
In previous version of aoc you should use "-march=emulator and -fast-emulator".
In 19.2 version, please, use "-march=emulator -legacy-emulator".
I guess, documentation of aoc was not updated to 19.2.
Best regards,
Sergey