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)
To reproduce the problem, append the simple kernel in the cl file of HelloCL Sample from SDK bate3. It will take u only two minutes to catch the error, please check it for us.
Any idea is really appreciate!! Thanks!!!!