1 Reply Latest reply on Oct 12, 2009 6:38 AM by gaurav.garg

    how to convert from uint to uint4 and back?

    hennequi

      Dear ATI Stream community,

      I am wondering if it's possible to convert a stream from uint4 (n) to uint (4*n) (same number of elements) and back.

      The reason is that I have one kernel which takes stream A as an uint4, and another kernel (supposed to be operating on the same data) which requires an uint (for some reasons).

      is that possible?

      if yes, how would that be implemented? (a cast ?)

      cheers,

      Guillaume