Forum Discussion
Altera_Forum
Honored Contributor
8 years agoOutput Message: "...A host pointer is provided without also specifying one of..."
The full message I am getting on the terminal is : Context callback: A host pointer is provided without also specifying one of CL_MEM_USE_HOST_PTR or CL_MEM_COPY_HOST_PTR
Context callback: A ...
Altera_Forum
Honored Contributor
8 years agoYou are trying to pass a host pointer directly to the device, without first creating buffers on the device. I am surprised this even works. Read up on the "clCreateBuffer()" function or check one of Altera's basic examples (or basically any OpenCL code example) to see how you should first create buffers on the device.