cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sudeepth
Journeyman III

Help newbie here. the current display drivers does not support opencl for the graphics card.

Not able to run the sample code in GPU.

I have been installing like 10 times today different versions of ATI catalyst. I have windows 7 ATI Mobility Radeon HD 5470. Downloaded 11-2_mobility_vista_win7_32-64_ccc.exe and  ati-stream-sdk-v2.3-vista-win7-64.exe files from download section of amd website and installed on my system.

I tried running the CAL sample file FindNumDevices and CLinfo. I am getting

Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.519
Use -? for help
CAL initialized.
Finding out number of devices :-
Device Count = 1
CAL shutdown successful.

Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 1.1 ATI-Stream-v2.3 (451
)
  Platform Name:                                 ATI Stream
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callbac
k cl_amd_offline_devices cl_khr_d3d10_sharing


  Platform Name:                                 ATI Stream
Number of devices:                               1
  Device Type:                                   CL_DEVICE_TYPE_CPU
  Device ID:                                     4098
  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:                           2394Mhz
  Address bits:                                  64
  Max memory allocation:                         1073741824
  Image support:                                 No
  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:             No
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    32768
  Global memory size:                            3221225472
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Global
  Local memory size:                             32768

These are the outputs that I m getting from running these samples. I have been struggling with this for a long time and couldnt find any document relating to this.

Any help in making the sample code in GPU will be greatly appreciated.

Thanks

0 Likes
7 Replies
nou
Exemplar

that CAL version is somehow low. i have with 11.1 CAL version 1.4.900. and certain version of SDK need certain version of CAL or higher. (IIRC SDK 2.3 need catalyst 10.11 and that have CAL version around 1.4.700-800) but maybe mobility versioning is different.

0 Likes
genaganna
Journeyman III

Originally posted by: sudeepth I have been installing like 10 times today different versions of ATI catalyst. I have windows 7 ATI Mobility Radeon HD 5470. Downloaded 11-2_mobility_vista_win7_32-64_ccc.exe and  ati-stream-sdk-v2.3-vista-win7-64.exe files from download section of amd website and installed on my system.

 

I tried running the CAL sample file FindNumDevices and CLinfo. I am getting

 

Supported CAL Runtime Version: 1.3.185 Found CAL Runtime Version: 1.4.519 Use -? for help CAL initialized. Finding out number of devices :- Device Count = 1 CAL shutdown successful. Number of platforms:                             1   Platform Profile:                              FULL_PROFILE   Platform Version:                              OpenCL 1.1 ATI-Stream-v2.3 (451 )   Platform Name:                                 ATI Stream   Platform Vendor:                               Advanced Micro Devices, Inc.   Platform Extensions:                           cl_khr_icd cl_amd_event_callbac k cl_amd_offline_devices cl_khr_d3d10_sharing   Platform Name:                                 ATI Stream Number of devices:                               1   Device Type:                                   CL_DEVICE_TYPE_CPU   Device ID:                                     4098   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:                           2394Mhz   Address bits:                                  64   Max memory allocation:                         1073741824   Image support:                                 No   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:             No   Cache type:                                    Read/Write   Cache line size:                               64   Cache size:                                    32768   Global memory size:                            3221225472   Constant buffer size:                          65536   Max number of constant args:                   8   Local memory type:                             Global   Local memory size:                             32768

 

These are the outputs that I m getting from running these samples. I have been struggling with this for a long time and couldnt find any document relating to this.

 

Any help in making the sample code in GPU will be greatly appreciated.

 

Thanks

 

Your driver installed properly as FindNumDevices reports one device found.

Could you please run following CAL sample and past output here?

         NLM_Denoise_Compute.exe -e

Could you please run following OpenCL sample and past output here?

         Reduction.exe -e -q

0 Likes

As nou said, Your CAL runtime version is very old.

Try to follow following to fix old runtime version.

 1. uninstall your driver

 2. User driver cleaner to clean driver components

 3. restart system

 4. install driver

 5. restart and run CAL/OpenCL samples.

 

0 Likes

Thanks for replying. As you suggested, I have run the samples.

These are the outputs displayed for the two samples


C:\Users\sudeepth\Documents\ATI Stream\samples\cal\bin\x86_64>NLM_Denoise.exe -e

Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.519
Use -? for help
Program:                NLM_Denoise.exe         Kernel  System
 WxH            In-Out   Src     Dst     Iter   GB/sec  GB/sec
There was an error getting device attribs.
Error string is Parameter passed in is invalid


C:\Users\sudeepth\Documents\ATI Stream\samples\opencl\bin\x86_64>Reduction.exe -
e -q

Platform Vendor : Advanced Micro Devices, Inc.
Error: clGetDeviceIDs failed Error code : CL_DEVICE_NOT_FOUND
Error: sampleCommon:isplayDevices() failed

Both results looks like opencl does not detect my device. Any suggestions lookin at these outputs

 

0 Likes

@genaganna,

When you meatn drive cleaner, are you referring to any software by tht name or just the classical way of uninstalling the driver for the graphics card.

Coz I uninstalled my driver in driver manager and then installed the new dricver released by dell for my laptop.

If there is any software like driver cleaner can you suggest me where you prefer to download it.

Thanks

Venkata

0 Likes

http://www.guru3d.com/category/driversweeper/

0 Likes

Originally posted by: sudeepth Thanks for replying. As you suggested, I have run the samples.

These are the outputs displayed for the two samples

C:\Users\sudeepth\Documents\ATI Stream\samples\cal\bin\x86_64>NLM_Denoise.exe -e Supported CAL Runtime Version: 1.3.185 Found CAL Runtime Version: 1.4.519 Use -? for help Program:                NLM_Denoise.exe         Kernel  System  WxH            In-Out   Src     Dst     Iter   GB/sec  GB/sec There was an error getting device attribs. Error string is Parameter passed in is invalid

C:\Users\sudeepth\Documents\ATI Stream\samples\opencl\bin\x86_64>Reduction.exe - e -q Platform Vendor : Advanced Micro Devices, Inc. Error: clGetDeviceIDs failed Error code : CL_DEVICE_NOT_FOUND Error: sampleCommon:isplayDevices() failed

Both results looks like opencl does not detect my device. Any suggestions lookin at these outputs

 

Did you use driver sweeper(as nou mentioned) to clean the previous driver installation? Your CAL version is reported old which might be the issue due to incomplete driver installation.

0 Likes