irnn

clCreateCommandQueue segfaults x86

Discussion created by irnn on Mar 19, 2011
Latest reply on Mar 21, 2011 by irnn
Weird bug

I am having an issue which I think is exactly the same as the one in this thread:

http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=142326

The machine I am running on has an 8 core Intel(R) Xeon(R) CPU E5620  @ 2.40GHz, and 2x Nvidia Tesla M2050. I have some code which runs kernels on the GPUs and the Intel processor. To get OpenCL x86 I am using the AMD APP SDK version 2.3 32bit. *ninja edit, On 64bit Linux

At runtime the program segfaults on a call to clCreateCommandQueue(). When I run the program with strace this crash no longer happens and it runs fine. I have run the code on computers with different CPUs and it also runs ok.

Does anyone have any ideas as to what is causing this crash? I'm tearing my hair out here!

Thanks in advance

Outcomes