clCreateProgramWithSource Errors in SDK OpenCL SDK

Hi Guys

Here is my setup :

ubuntu 64 bit 9.04
190.23 driver
GTX 295

Here is my error:

./bin/linux/debug/oclVectorAdd Starting…

of float elements per Array = 11444777

Global Work Size = 11444992
Local Work Size = 256

of Work Groups = 44707

Allocate and Init Host Mem…
clCreateContextFromType…
clGetContextInfo…
clCreateCommandQueue…
clCreateBuffer…
oclLoadProgSource (VectorAdd.cl)…
clCreateProgramWithSource…
Error in clCreateProgramWithSource, Line 145 in file oclVectorAdd.cpp !!!

Starting Cleanup…

oclVectorAdd.exe Exiting…
Press to Quit

I am getting this error in nearly all of the opencl sdk test programs. I did a fresh ubuntu install this morning, and the error is still here.

Ideas?

thanks in advance.

You should try to be in the directory where the corresponding kernel file (VectorAdd.cl) resides, when running the executable. I think the problem may had to do with shrFindFile() function, from shrUtils.cpp file in SDK, but I’m not using libshrutil, so I haven’t investigated that in more detail…

Wow thanks,

I feel pretty dumb, I thought that but assumed the oclLoadProgSource would fail, not the create function.