CUDA works fine but OpenCL doesnt Question about running SDK examples for OpenCL

hi guys,

 after playing around since this morning i finally got to compile and run the latest version of the CUDA SDK under SL, quite a rewarding experience. But now i have downloaded the OpenCL SDK and i have compiled the examples both using "make" and "make i386=1" but only the bandwidth test works fine. the rest of the examples quite with error # 0 or sth like that. can anyone help me with this?

Hi bamdadhosseini,

Ha ha! I know how you feel. That problem drove me crazy!

Try running your newly created executable from the directory it is in. (i.e. ‘cd’ to the bin subdirectory where it exists and run from there)

Let me know if it works for you too. :)