Forum Discussion
MuhammadAr_U_Intel
Contributor
6 years agoHi,
Please update OpenCL SDK to 19.1 and try running simulation as suggested in OpenCL programming guide.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf
Page : 172
Topic: Compiling a Library for Simulation (-march=simulator)
"
To compile a simulation that targets a specific board, invoke the aoc -march=simulator -ghdl -board=<board_name> <your_kernel_filename>.cl command
"
OpenCL examples are tested with this flow and are updated with commands in respective README file.
You can also take example of Vector add or Hello world example as described in README.html file in OpenCL SDK 19.1 installation directory.
<OpenCL 19.1 SDK installation directory>\examples_aoc\vector_add\README.html
Thanks,
Arslan