Ceq

typedef bug in 1.1b?

Discussion created by Ceq on May 26, 2008
Latest reply on Jun 4, 2008 by marcr
Hi, I've just downloaded the new version, however when I try to
execute a few codes I got the same error:

ERROR--1: Stream element type not supported

Example code:

typedef double2 XFLOAT;
kernel void stream_clear(out XFLOAT output<> ) { output = 0; }


I've been using typedefs because I wanted to be able to easily change
the kernels datatype in order to test performance variations.
Preprocessor was the other way, however since it wasn't supported
I decided to use typedefs.

Any hint? Is this a bug? Am I doing anything wrong?

Outcomes