cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mohagpu
Journeyman III

input streams with different sizes

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

0 Likes
1 Reply
omkaranathan
Adept I

Are you getting some error? Do error checking in output stream to ensure that everything is working fine.

Which version of SDK are you using?

Also could you post the source code? (Kernel and host code).

0 Likes