Changeset 3354 in CLRX


Ignore:
Timestamp:
Sep 11, 2017, 9:39:11 AM (13 months ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: Add a missing recognizing GFX900 by arch major.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3353 r3354  
    192192    else if (archMajor==8)
    193193        deviceType = GPUDeviceType::ICELAND;
     194    else if (archMajor==9)
     195        deviceType = GPUDeviceType::GFX900;
    194196   
    195197    for (cxuint i = 0; i < amdGpuArchValuesNum; i++)
  • CLRadeonExtender/trunk/tests/amdbin/ROCmBinGen.cpp

    r2682 r3354  
    8585    else if (archMajor==8)
    8686        rocmInput.deviceType = GPUDeviceType::ICELAND;
     87    else if (archMajor==9)
     88        rocmInput.deviceType = GPUDeviceType::GFX900;
    8789   
    8890    rocmInput.codeSize = binary.getCodeSize();
Note: See TracChangeset for help on using the changeset viewer.