2 Replies Latest reply on Jun 4, 2008 11:51 PM by marcr

    typedef bug in 1.1b?

      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?