clGetPlatformIDs() returning CL_PLATFORM_NOT_FOUND_KHR

Discussion created by cgorac on Mar 22, 2010
Latest reply on Jun 17, 2010 by omkaranathan

I have Stream SDK v2.01 installed on HP 8530w laptop - no ATI GPUs attached, but NVIDIA FX 770m instead (64-bit Linux, kernel 2.6.33, is the OS installed on the machine).  I have NVIDIA GPU-SDK installed too, and was using it for OpenCL development for the GPU, while I was using Stream SDK for testing the same code on CPU.  This worked pretty well throughout all Stream SDK 2.0-beta releases, however now I have clGetPlatformIDs() returning CL_PLATFORM_NOT_FOUND_KHR, when my code linked with ATI SDK.  Same happens if I try to run any of Stream SDK sample programs (CLInfo, for example).  Note that I'm careful to provide correct LD_LIBRARY_PATH each time when I try to run some OpenCL-based program, so that OpenCL shared library from correct SDK installation is picked up.  Any suggestion here, why the platform is not recognized, and is there anything else besides SDK that has to be installed now to make it work?