Forum Discussion
FawazJ_Altera
Frequent Contributor
6 years agoHello,
The Allocating Shared Memory for OpenCL Kernels Targeting SoCs section of the programming guide mentions that CL_MEM_USE_HOST_PTR doesn’t work with shared memory configurations on SoCs. This appears to be the scenario that you are using now, so it’s expected not to work. In that section, the programming guide describes how to write host code to share data between the ARM CPU and FPGA. I suggest the customer review that example.
https://www.intel.com/content/www/us/en/programmable/documentation/iee1516128926240.html
Hope this might help.
Thanks