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,
it seems very likely, that this is the problem.
This
aocl_mmd_get_offline_info(
AOCL_MMD_VERSION,
sizeof(mmd_version),
mmd_version,
¶m_size_ret
);gave me version 14.1, so it seems the terrasic BSP ships with a very old mmd library.
Can I compile a newer MMD library from sources included in the Intel FPGA SDK for OpenCL or can I simply copy some ".so" file?
Edit: I just saw, that section 1.4.3. of ug_aocl_custom_platform_toolkit.pdf describes, how to create the mmd library, I'll try that next.