I'm testing doubles using the new version v1.00.0_b, which is supposed to support double types, but when trying to compile:
kernel void ker_test(double input1<>, double input2<>, out double output<> ) {
output = input1 + input2;
}
I get the following error message:
error C2676: binary '+' : 'const __BrtDouble1' does not define this operator or a conversion to a type acceptable to the predefined operator
However if you modify it this way it works ok:
kernel void ker_test(double input1<>, double input2<>, out double output<> ) {
output = input1;
output += input2;
}
Am I doing something wrong or is it really a bug?
Thanks