--device cpu

Discussion created by AptypR on Aug 9, 2010
Latest reply on Aug 10, 2010 by nou

Tomorrow I founded out that almost all samples didn't work.they quit with

"Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND",even if CLInfo and HelloCL works properly.

After googling I tried to use --device cpu and it worked.

Can I set some variable or something not to use "--device cpu" all the time I run opencl applications??