1 Reply Latest reply on Mar 9, 2013 1:45 AM by nou

    opencl data type

    sajis997

      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