Forum Discussion
okramer
Occasional Contributor
6 years agoOpenCL C++ API for Pipes doesn't provide read/write methods?
I'm looking for guidance here, as I'm confused on whether to use OpenCL C or C++ API. I'm learning to use host pipes. The examples use the C++ API for establishing queues and contexts, etc., but then...
MEIYAN_L_Intel
Frequent Contributor
6 years agoHi,
The cl2.hpp is a wrapper API as shown in https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_getting_started.pdf table 1. However it is not fully supported C++ and tied to OpenCL specification based on the version.
To read and write between the kernel and host, you may need to refer https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf in chapter 5.5.6.
Thanks