cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

eudoxos
Journeyman III

FirePro V7900 + Radeon HD 6970: secondary (radeon) not seen in OpenCL

I have two cards, FirePro V7900 and Radeon HD6970. The FirePro card is used for regular video output, while the other one is meant for OpenCL only. I am using latest fglrx drivers (2:9.000-0ubuntu3) under Linux, with the OpenCL SDK v2.7rc.  Both cards are recognized by the OS:

$ lspci | grep VGA | grep ATI
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman PRO GL [FirePro V7900]
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman XT [Radeon HD 6970]
$ ls /dev/ati/*
/dev/ati/card0
/dev/ati/card1

However, the OpenCL platform only recognizes the FirePro card, not the Radeon:

$ clinfo
Number of platforms:                     1
  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


  Platform Name:                     AMD Accelerated Parallel Processing
Number of devices:                     2
  Device Type:                          CL_DEVICE_TYPE_GPU
  Device ID:                          4098
  Board name:                          ATI FirePro V (FireGL V) Graphics Adapter
  Device Topology:                     PCI[ B#1, D#0, F#0 ]
  [...]

  Device Type:                          CL_DEVICE_TYPE_CPU
  Device ID:                          4098
  [...]

What would be the suggested way for some further diagnostics? Is it a bug or a "feature" that those cards cannot be combined?

0 Likes
1 Reply
dmeiser
Elite

Even if you're using one of the cards only for OpenCL compute stuff you still need to have both cards enabled as devices in your xorg.conf. An easy way to do that is with

$> aticonfig --initial -f --adapter=all

If you want to check whether the driver can detect all devices you can do

$> aticonfig --lsa

0 Likes