GRodr25
New Contributor
5 years ago'Typedefing' pointers
Hi,
I need to give an alias to the pointer kernel arguments of my kernels as part of a solution I am developing. However, although it is supported in C the compiler gives an error:
error: parameter may not be qualified with an address space
The signature of the kernel is something like:
typedef void* p_void;
__kernel void( __global p_void A)
Isn't this supported by OpenCL? Is there anything I can do?
Thank you.