cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

pia_novice
Journeyman III

How to enable OpenCL-GPU-processing in Linux (CL_DEVICE_TYPE_GPU)?

Hello,

I set up the ATI Stream SDK. The examples as well as my programmes are running fine. However, as the only available device is CL_DEVICE_TYPE_CPU all OpenCL programmes run on the CPU and not on the GPU.

Does my graphics card model support OpengCL?

How does one enable OpenCL processing on the GPU, viz. CL_DEVICE_TYPE_GPU?

Any help is greatly appreciated

Karl

localhost:~# /home/pia/rpms/tarballs/ati-stream-sdk-v2.3-lnx64/samples/cal/bin/x86_64/FindNumDevices
Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.900
Use -? for help
CAL initialized.
Finding out number of devices :-
Device Count = 1
CAL shutdown successful.

Driver: (most recent as of today)
ati-driver-installer-10-12-x86.x86_64.run

SDK:
ati-stream-sdk-v2.3-lnx64.tgz

GPU:
localhost:~# hwinfo | grep -i -E "model.*radeon"
  Model: "ATI Mobility Radeon HD 3400 Series"

localhost:~# glxinfo | head -n 5 | tail -n 3
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4

OpenGl/DRI test:
localhost:~# glxgears
25058 frames in 5.0 seconds = 5011.454 FPS

localhost:~# fgl_glxgears
Using GLX_SGIX_pbuffer
5118 frames in 5.0 seconds = 1023.600 FPS

Operating System:
localhost:~# lsb_release -i -r -c
Distributor ID: Debian
Release:        6.0
Codename:       squeeze

localhost:~# uname -a
Linux localhost 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux

0 Likes
6 Replies
nou
Exemplar

radeon 3400 are not supported. only radeon 4xxx series and up. based on rv7xx.

0 Likes
areeda
Journeyman III

Originally posted by: nou radeon 3400 are not supported. only radeon 4xxx series and up. based on rv7xx.

 

Are all devices in the 4xxx range supported?

I have a new system based on the 890GX chipset which includes a Radeon HD 4290.

I am just getting started and it's not clear if I have a setup problem or a not supported chipset.

Thanks

0 Likes

areeda,
Only R7XX based chips and later are supported, not all HD4XXX chips. According to here:
http://en.wikipedia.org/wiki/C...Radeon_HD_4xxx_Series
The Mobile Radeon 42XX is a RV6XX device, so it is not supported.
0 Likes

Originally posted by: MicahVillmow areeda, Only R7XX based chips and later are supported, not all HD4XXX chips. According to here: http://en.wikipedia.org/wiki/C...Radeon_HD_4xxx_Series The Mobile Radeon 42XX is a RV6XX device, so it is not supported.
Thanks, I mean RATS oh well I guess I mean thanks for the info too bad I didn't get GPU accelerated processing for free.

Just to be clear this is not a mobile chipset, but I see from that wiki that it is in the RV6xx family.

Thanks,

joe

0 Likes

Thanks for clarification. Should have had a look at the hardware requirements first:

myurl

It's just a pity as my ThinkPad is not even a year old. At least coding and some tests are possible as the OpenCL code is simulated on the CPU.

0 Likes

pia_novice,
The CPU does not simulate OpenCL code but runs it natively. If you want an easy way to run performance critical code in a multi-threaded environment, OpenCL on the CPU is a valid method of doing so.
0 Likes