how to convert from uint to uint4 and back?

Discussion created by hennequi on Oct 12, 2009
Latest reply on Oct 12, 2009 by gaurav.garg

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 ?)