some_pointer = NULL
I get the following error:
error: identifier "NULL" is undefined
How do I create a NULL pointer in OpenCL?
some_pointer = 0; ?
As I understand that's more standard these days anyway rather than hiding 0 with NULL. Maybe that's a C++ thing, though.
Great, thanks. That's how I did it anyways, just wanted to make sure I'm doing it the proper way.
Retrieving data ...