spectral

OpenCL pointer : c++ equivalent ?

Discussion created by spectral on Sep 8, 2011
Latest reply on Sep 9, 2011 by spectral

Hi,

I have a OpenCL structure like this. But how can I define a C++ structure that correspond to this . First, I don't know the pointer size. Secondly, I don't know how align the structure !

Does someone know ?

Thanks

 

typedef struct { .... } MyInfo; typedef struct { __global MyInfo* info; } Task;

Outcomes