Changeset 3350 in CLRX


Ignore:
Timestamp:
Sep 11, 2017, 7:57:28 AM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GPUId: Remove TODO. Add GFX901 definitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/utils/GPUId.cpp

    r3349 r3350  
    2828using namespace CLRX;
    2929
    30 /* TODO: add routines to calculate pgmRSRCs and localsize.
    31  * use this in code */
    32 
    33 static const size_t gpuDeviceTableSize = 23;
     30static const size_t gpuDeviceTableSize = 24;
    3431
    3532static const char* gpuDeviceNameTable[gpuDeviceTableSize] =
     
    5754    "Baffin",
    5855    "GFX804",
    59     "GFX900"
     56    "GFX900",
     57    "GFX901"
    6058};
    6159
     
    7270    { "gfx804", GPUDeviceType::GFX804 },
    7371    { "gfx900", GPUDeviceType::GFX900 },
     72    { "gfx901", GPUDeviceType::GFX901 },
    7473    { "goose", GPUDeviceType::GOOSE },
    7574    { "hainan", GPUDeviceType::HAINAN },
     
    112111    GPUArchitecture::GCN1_2, // Baffin
    113112    GPUArchitecture::GCN1_2, // GFX804
     113    GPUArchitecture::GCN1_4, // GFX900
    114114    GPUArchitecture::GCN1_4  // GFX900
    115115};
Note: See TracChangeset for help on using the changeset viewer.