cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

codeboycjy
Journeyman III

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

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!!!!

0 Likes
3 Replies
omkaranathan
Adept I

Does it work fine for you with Beta2?

Could you post the complete code(source & kernel code)?

 

0 Likes

There is a forum dedicated to OpenCL. Please make use of it to post OpenCL related queries. 

Thanks.

0 Likes

The code works on bate2.

Actually there is only one kernel in the cl file. And there is only one thing left to reproduce the bug: clBuildProgram.

To make things simple, please append the kernel in the cl file of helloCL sample from SDK. And it crashed!

Thanks for ur help!!

0 Likes