dukeleto

gather kernel  with more than one output stream

Discussion created by dukeleto on Jul 30, 2008
Latest reply on Aug 2, 2008 by dukeleto
is it possible?

Hi,
I'm solving a system of 4 coupled partial differential equations with a finite difference style method. In single precision, I can do everything in a single kernel with single4 inputs and outputs. In double precision, I currently have split my kernel into 2, and use double2 input and output for each. I would like to be able to use a single kernel, but that would require two output streams. Is this possible?
If it is possible, will the indexof() function have the same position for each stream, or are they independent?
Thanks!

Outcomes