AnsweredAssumed Answered

APP SDK samples can't find GPU

Question asked by retrogradeorbit on Dec 10, 2013
Latest reply on Aug 11, 2014 by signork

I have installed a Radeon R9 290 into a 64-bit Ubuntu 12.04 Linux machine and successfully installed amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64 driver and AMD-APP-SDK-v2.9-lnx64.


My X is working well and I can query the GPU with aticonfig:


$ aticonfig --odgc


Default Adapter - AMD Radeon R9 290 Series

                            Core (MHz)    Memory (MHz)

           Current Clocks :    300           1250



        Performance Level :    0

        Current Bus Speed :    2500

         Current Bus Lane :    1

                 GPU load :    0%


I can build the samples fine, but when I run them I get:


Platform 0 : 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) i7-3770 CPU @ 3.40GHz Device ID is 0x2422ce0


It keeps falling back to CPU. I cannot seem to get the samples to find the GPU. Here's the list of linked libraries from one of the samples:


$ ldd BinarySearch =>  (0x00007fffa62eb000) => /opt/AMDAPP/lib/x86_64/ (0x00007f09ed99c000) => /usr/lib/x86_64-linux-gnu/ (0x00007f09ed67d000) => /lib/x86_64-linux-gnu/ (0x00007f09ed466000) => /lib/x86_64-linux-gnu/ (0x00007f09ed0a6000) => /lib/x86_64-linux-gnu/ (0x00007f09ece89000) => /lib/x86_64-linux-gnu/ (0x00007f09ecc84000) => /lib/x86_64-linux-gnu/ (0x00007f09ec988000)

  /lib64/ (0x00007f09edba4000)


Any ideas how to get the GPU recognised?