Forum Discussion
KennyT_altera
Super Contributor
6 years agoCan you attached your kernal files and host for me to try it out?
OChen25
New Contributor
6 years agoOK. In the attached vector_add.tgz you can find
- the opencl kernel source: vector_add/device/vecor_add.cl
- the host application source: vector_add/host/src/main.cpp
I got them as part of the OpenCL BSP of DE10-Nano from Terasic.
I guess its original source is the v17.1 Arm32 Linux package (.tar.gz) from:
Please kindly understand that you won't duplicate this symptom on the official DE10-Nano OpenCL BSP from Terasic.
It only happens on the BSP I created.
Anyway, as I said in my original post, the symptom is: the host application will stop on the call to clWaitForEvents() (Line 361) in the second run of this host application.