qbproger

doubles in brook+

Discussion created by qbproger on Mar 13, 2008
Latest reply on Apr 17, 2008 by michael.chu
Doubles don't seem to be supported by the current
version of Brook+.

To test this, you can put this kernel code in any br file.

kernel void conv_double ( double A<>, out double result<>)
{
result = A;
}

You can just put it towards the top of any file, it doesn't even need
to be used.

The compiler will crash, and if you look at the cpp file generated,
you see this on the last line:
ERROR the following data type can't be stream element type: double

I was under the impression there was double support in brook+. Am i doing something wrong?

Thanks

Outcomes