Hi,
Ok i use the C++ Code only in my *.cpp Files, how i can pass a Stream to a function in the *.br file:
CPP file
Streamstream1(1,&size);
Streamstream2(1,&size);
Streamstream3(1,&size);
call_brook(stream1,stream2,stream3);
BR file
kernel void test_kernel(float a<>, float b<>, out float c<>
{
c = a + b;
}
void call_brook(float a<>, float b<>, float c<>
{
test_kernel(a,b,c);
}
i get the error: ERROR--1 Problem with stream declaration Statement: float s1()
I don't want to pass them direct to the kernel.