Changeset 3112 in CLRX


Ignore:
Timestamp:
May 31, 2017, 4:52:21 PM (21 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AmdCL2Bin: fix for GFX900.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdbin/AmdCL2Binaries.cpp

    r3056 r3112  
    949949                if (knownGPUType)
    950950                {
    951                     if ((arch==GPUArchitecture::GCN1_2 && major!=8) ||
     951                    if ((arch==GPUArchitecture::GCN1_2 && major<8) ||
    952952                        (arch==GPUArchitecture::GCN1_1 && major!=7))
    953953                        throw Exception("Wrong arch major for GPU architecture");
     954                    // fix for GFX900 - we don't know what is type of device
     955                    if (arch==GPUArchitecture::GCN1_2 && major!=8)
     956                        knownGPUType = false;
    954957                }
    955958                else if (major != 9 && major != 8 && major != 7)
    956959                    throw Exception("Unknown arch major");
    957                    
     960               
    958961                if (!knownGPUType)
    959962                {
Note: See TracChangeset for help on using the changeset viewer.