Hi forum
i am defining data type as follows:
float2 *field = NULL;
in the host .
I am getting compilation error mentioning that undefined float2
Any idea?
Regards
Sajjad
Hi forum
i am defining data type as follows:
float2 *field = NULL;
in the host .
I am getting compilation error mentioning that undefined float2
Any idea?
Regards
Sajjad
In host code, the vector data types are prefixed with “cl_”. So, a float2 on the device is a cl_float2 on the host.