bayoumi

streamScatterOp

Discussion created by bayoumi on Aug 12, 2008
Latest reply on Aug 29, 2008 by michael.chu
Hi,
I understand that streamScatterOp is still not fully supported, but I read on the forum people using it. I decided to give it a try under Windows XP x64, and latest SDK.

I tried to run brcc & C/C++ cl/link on the scatter_gather.br which comes under Brook+ samples with the SDK.
I always get an error complaining from undefined variable corresponding to the reduce function. For example:
....
...
reduce void sub(float a<>, reduce float b<>)
{
b = a - 1;
}
...
...
streamScatterOp(soutput1D, sindices1D, input1D, sub);
....

I always get : undefined __sub_inner_cpu from the C/C++

Thanks
Amr

Outcomes