Forum Discussion
JButt5
New Contributor
6 years agoGetting a lot of "HAL Kern Error: Read failed from addr x, read y expected z" errors – what to do?
I compiled an application that works flawlessly on a GPU based system for a Cyclone V SoC today. It contains 3 CL Kernels, two of them are single-work-item kernels, one is an ND-Range kernel. Two com...
- 6 years ago
Hi,
It seem like the problem is from the custom BSP.
You may need to refer to the custom platfrom user guide with the link as below:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/ug_aocl_custom_platform_toolkit.pdf
Thanks
Thanks
TSchw11
New Contributor
6 years agoHi, I'm continuing the Project of JButt5 and could reproduce the errors even without the custom BSP. However the errors stopped occurring, if I temporarily disabled one of the threads, so it seems to be threading related.
I created a clean reproducible example, and asked a new question here: https://forums.intel.com/s/question/0D50P00004cY66wSAC/getting-hal-kern-error-readwrite-failed-from-addr-x-read-y-expected-z-when-running-multithread-opencl-application-on-cyclonev-soc