cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sgratton
Adept I

available stream types in brook+

Hi there,

Would anybody mind letting me know if double or int stream types are available currently in brook+? I'm new to brook and I don't have hardware yet so I've just been experimenting. I've been running brcc from the command line on some very simple .br files, and I only seem able to get float-based kernels to work.

For example, trying:

kernel void dsum(double a<>, double b<>, out double c<> )
{
c=a+b;
}

with:

brcc dsum.br

does not seem to work, with an ERROR message in the output .cpp file. The same happens if I change the doubles to ints. Yet if I change the doubles to floats it works fine and outputs a suitable .cpp file. Should I indeed be able to do this? (Or have I missed something in the documentation or do I have a problem with my setup?)

Thanks a lot,
Steven.
0 Likes
3 Replies

The currently released version of Brook+ does not support double or integer streams or operations.
0 Likes

v1.0 coming out in April will have double support.

Integer support will come out in a release or 2 after that.

Michael.
0 Likes

Hi again,

Thanks both for the information; I look forward to April then with double precision support! (Not sure I'm up to coding much in IL or R600isa just yet...)

Best wishes,
Steven.
0 Likes