3 Replies Latest reply on Sep 27, 2009 12:54 AM by codeboycjy

    A BUG IN THE LATEST ATI STREAM SDK (2.0 BATE3)

    codeboycjy

      Hi:
         I've tried the latest ati stream sdk with our code which runs well with the previous SDK. And it crashed. I tried to find the bug in my code, but i found this:

         int kernelTest(float a)
         {
             float4 tempValue = (float4)( 0.0f , 0.0f , 0.0f , 0.0f );
             if( a == 0.0f )
                tempValue.x = 1.0f;
             if( tempValue.x > 0.0f )
                return 0;
             return 1;
         }

         The compiler in the lastest SDK crashed when compiling the simple CL kernel Code with only one kernel above.(We've tested the case in xp and vista)

         Any idea is really appreciate!! Thanks!!!!