devel

Bug in ATI Stream SDK Beta4 for linux x64

Discussion created by devel on Oct 14, 2009

I was playing around with the opencl sdk for linux and came across an SSE4 instruction that seems to be compiled in the .so file even though the spec state SSE3 cpu and later. To reproduce compile and run the binary search sample on non SSE4 cpu and you should get an illegal instruction, the illegal instruction is

pinsrd $0x0,%edx,%xmm0

the stack

#0 0x00007f41828fd6d8 in __OpenCL_binarySearch_stub () from /tmp/OCLJDiw5W.so
#1 0x00007f4183ddff2f in cpu::WorkGroupOperation::execute ()
from /home/dev/ati-stream-sdk-v2.0-beta4-lnx64/lib/x86_64/libOpenCL.so

Outcomes