cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sajis997
Adept I

opencl data type

Hi forum,

I am trying to typedef a opencl type as follows:

typedef float2 cData;

cData *field = NULL;

I am doing in the host . Bu i am getting a compilation error .

Is it possible to declare stuff like this in the host side ?

Regards

Sajjad

0 Likes
1 Solution
nou
Exemplar

0 Likes
1 Reply
nou
Exemplar

use cl_float2

0 Likes