hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs

'Typedefing' pointers

GRodr25
Beginner
629 Views

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.

0 Kudos
1 Reply
Reply