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 ?)
Unfortunately this is not supported. The only way to do this is by reading the result back to host and then initializing a new uint stream from this data.
Another way to do this is by writing a kernel to convert this stream into a new typed stream.