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
HRZ
Frequent Contributor
6 years agoAre you using a custom BSP as mentioned in your other threads in the forum? If that is the case, look for the problem in your custom BSP. The errors you are getting are HAL or "Hardware Abstraction Layer" errors; it is extremely unlikely they are coming from some issue in the OpenCL compiler and they are very likely caused by an issue in the BSP or the OpenCL driver/runtime.