duanrb

two GPUs, samples do not work: CL_DEVICE_NOT_FOUND

Discussion created by duanrb on Sep 16, 2010
Latest reply on Oct 13, 2010 by genaganna
Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND

I have two GPUs on my workstation:

/sbin/lspci 

 

06:00.0 VGA compatible controller: nVidia Corporation GT200GL [Quadro FX 5800] (rev a1)

07:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 6898



OS:CentOS release 5.5

After installed ATI driver and ati-stream-sdk-v2.2-lnx64, I can successfully run HelloCL and CLInfo, but cannot run others like ./BinarySearch. Always get error: 

Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND 

========================

 

./CLInfo 

Number of platforms: 2

  Platform Profile: FULL_PROFILE

  Platform Version: OpenCL 1.1 ATI-Stream-v2.2 (302)

  Platform Name: ATI Stream

  Platform Vendor: Advanced Micro Devices, Inc.

  Platform Extensions: cl_khr_icd cl_amd_event_callback

  Platform Profile: FULL_PROFILE

  Platform Version: OpenCL 1.0 CUDA 3.1.1

  Platform Name: NVIDIA CUDA

  Platform Vendor: NVIDIA Corporation

  Platform Extensions: cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll 

.............


========================

How can I solve this problem

Thanks replying.

Outcomes