mohagpu

input streams with different sizes

Discussion created by mohagpu on May 10, 2010
Latest reply on May 11, 2010 by omkaranathan

i have a kernel with 3 input streams and one output stream

kernel void foo(double a<>,double b<>, double c[], out double d[])

as shown :

there are two normal input streams (a,b)

one gather stream (c)

and the output stream is scatter

the problem i have is: 

the two normal streams sizes are different than the size of the scatter output

besides the size of stream a is different than that of b.

I setted the environment variable BRT_DISABLE_STREAM_RESIZE to one and restarted visual studio and still he resizes the input streams a,b. 

i don't know how the compiler resizes the size of a and b 

and is this with respect to the output or what?

and is there a way to leave the streams as is without resizing

Outcomes