AnsweredAssumed Answered

App SDK example apps don't see an OpenCL compliant NVIDIA GPU

Question asked by heytchessay on Jun 18, 2012
Latest reply on Jun 18, 2012 by Wenju

I've downloaded the latest App SDK (version 2.7) and installed it on Windows 7. I built and executed a couple of example apps like BoxFilter and NBody in Visual Studio 2010. The problem is that those example apps don't see my NVIDIA GeForce GTX 460, even though it's OpenCL compliant, and it just defaults to the CPUs. Here's the output of BoxFilter. Am I missing a setting somewhere (like extra VS2010 project settings)? If you need more info, please let me know.

 

Thanks,

 

C:\Users\MyUserName\Documents\AMD APP\samples\opencl\bin\debug\x86>BoxFilter.exe
Running SAT version..
Platform 0 : NVIDIA Corporation
Platform 1 : Advanced Micro Devices, Inc.
GPU not found. Falling back to CPU device
Platform found : Advanced Micro Devices, Inc.

Selected Platform Vendor : Advanced Micro Devices, Inc.
Device 0 : Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz Device ID is 0395E768

Executing kernel for 1 iterations
-------------------------------------------


Running Separable version..
Platform 0 : NVIDIA Corporation
Platform 1 : Advanced Micro Devices, Inc.
GPU not found. Falling back to CPU device
Platform found : Advanced Micro Devices, Inc.

Selected Platform Vendor : Advanced Micro Devices, Inc.
Device 0 : Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz Device ID is 0395E768

Executing kernel for 1 iterations
-------------------------------------------

 

Here's the output of "clinfo":

 

Number of platforms:     2
  Platform Profile:     FULL_PROFILE
  Platform Version:     OpenCL 1.1 CUDA 4.2.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_d3d9_sharing cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll
  Platform Profile:     FULL_PROFILE
  Platform Version:     OpenCL 1.2 AMD-APP (923.1)
  Platform Name:     AMD Accelerated Parallel Processing
  Platform Vendor:     Advanced Micro Devices, Inc.
  Platform Extensions:     cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_khr_d3d10_sharing


  Platform Name:     NVIDIA CUDA
Number of devices:     1
  Device Type:      CL_DEVICE_TYPE_GPU
  Device ID:      4318
  Max compute units:     7
  Max work items dimensions:    3
    Max work items[0]:     1024
    Max work items[1]:     1024
    Max work items[2]:     64
  Max work group size:     1024
  Preferred vector width char:    1
  Preferred vector width short:    1
  Preferred vector width int:    1
  Preferred vector width long:    1
  Preferred vector width float:    1
  Preferred vector width double:   1
  Native vector width char:    1
  Native vector width short:    1
  Native vector width int:    1
  Native vector width long:    1
  Native vector width float:    1
  Native vector width double:    1
  Max clock frequency:     1440Mhz
  Address bits:      32
  Max memory allocation:    268353536
  Image support:     Yes
  Max number of images read arguments:   128
  Max number of images write arguments:   8
  Max image 2D width:     32768
  Max image 2D height:     32768
  Max image 3D width:     2048
  Max image 3D height:     2048
  Max image 3D depth:     2048
  Max samplers within kernel:    16
  Max size of kernel argument:    4352
  Alignment (bits) of base address:   4096
  Minimum alignment (bytes) for any datatype:  128
  Single precision floating point capability
    Denorms:      Yes
    Quiet NaNs:      Yes
    Round to nearest even:    Yes
    Round to zero:     Yes
    Round to +ve and infinity:    Yes
    IEEE754-2008 fused multiply-add:   Yes
  Cache type:      Read/Write
  Cache line size:     128
  Cache size:      114688
  Global memory size:     1073414144
  Constant buffer size:     65536
  Max number of constant args:    9
  Local memory type:     Scratchpad
  Local memory size:     49152
  Kernel Preferred work group size multiple:  32
  Error correction support:    0
  Unified memory for Host and Device:   0
  Profiling timer resolution:    1000
  Device endianess:     Little
  Available:      Yes
  Compiler available:     Yes
  Execution capabilities:    
    Execute OpenCL kernels:    Yes
    Execute native function:    No
  Queue properties:    
    Out-of-Order:     Yes
    Profiling :      Yes
  Platform ID:      0000000002865680
  Name:       GeForce GTX 460
  Vendor:      NVIDIA Corporation
  Device OpenCL C version:    OpenCL C 1.1
  Driver version:     301.42
  Profile:      FULL_PROFILE
  Version:      OpenCL 1.1 CUDA
  Extensions:      cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_d3d9_sharing cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll  cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64


  Platform Name:     AMD Accelerated Parallel Processing
Number of devices:     1
  Device Type:      CL_DEVICE_TYPE_CPU
  Device ID:      4098
  Board name:     
  Max compute units:     4
  Max work items dimensions:    3
    Max work items[0]:     1024
    Max work items[1]:     1024
    Max work items[2]:     1024
  Max work group size:     1024
  Preferred vector width char:    16
  Preferred vector width short:    8
  Preferred vector width int:    4
  Preferred vector width long:    2
  Preferred vector width float:    4
  Preferred vector width double:   0
  Native vector width char:    16
  Native vector width short:    8
  Native vector width int:    4
  Native vector width long:    2
  Native vector width float:    4
  Native vector width double:    0
  Max clock frequency:     2833Mhz
  Address bits:      64
  Max memory allocation:    2147483648
  Image support:     Yes
  Max number of images read arguments:   128
  Max number of images write arguments:   8
  Max image 2D width:     8192
  Max image 2D height:     8192
  Max image 3D width:     2048
  Max image 3D height:     2048
  Max image 3D depth:     2048
  Max samplers within kernel:    16
  Max size of kernel argument:    4096
  Alignment (bits) of base address:   1024
  Minimum alignment (bytes) for any datatype:  128
  Single precision floating point capability
    Denorms:      Yes
    Quiet NaNs:      Yes
    Round to nearest even:    Yes
    Round to zero:     Yes
    Round to +ve and infinity:    Yes
    IEEE754-2008 fused multiply-add:   Yes
  Cache type:      Read/Write
  Cache line size:     64
  Cache size:      32768
  Global memory size:     4293451776
  Constant buffer size:     65536
  Max number of constant args:    8
  Local memory type:     Global
  Local memory size:     32768
  Kernel Preferred work group size multiple:  1
  Error correction support:    0
  Unified memory for Host and Device:   1
  Profiling timer resolution:    361
  Device endianess:     Little
  Available:      Yes
  Compiler available:     Yes
  Execution capabilities:    
    Execute OpenCL kernels:    Yes
    Execute native function:    Yes
  Queue properties:    
    Out-of-Order:     No
    Profiling :      Yes
  Platform ID:      000007FEE6342A08
  Name:       Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz
  Vendor:      GenuineIntel
  Device OpenCL C version:    OpenCL C 1.2
  Driver version:     2.0 (sse2)
  Profile:      FULL_PROFILE
  Version:      OpenCL 1.2 AMD-APP (923.1)
  Extensions:      cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_sharing

Outcomes