Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
66 Views

'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.

Tags (1)
0 Kudos
1 Reply
Highlighted
Moderator
21 Views

0 Kudos