kawasakis900

clCreateCommandQueue segfaults

Discussion created by kawasakis900 on Nov 15, 2010
Latest reply on Jul 22, 2011 by lupescu_grigore

hello,

i'm new to opencl. i want to run a kernel on an amd cpu (phenom 9500 quad). i have ati stream sdk 2.2 installed. i run linux 64-bit. i have done the appropriate initializations for shell environment variables according to the sdk documentation.

 

the cpu is recognized and i get a valid context. also, when i run the CLInfo sample, the test is passed by the "OpenCL 1.1 ATI-Stream-v2.2 (302)" platform. 

 

but when i try to create a command queue, i get a segfault. with debugging, i saw that the crash is exactly at the clCreateCommandQueue call.

 

thanx in advance for any help provided

Outcomes