Changeset 3807 in CLRX


Ignore:
Timestamp:
Feb 16, 2018, 3:09:38 PM (14 months ago)
Author:
matszpk
Message:

CLRadeonExtender: CLHelper: Stupid bug in checking AMDAPP version. Set AMDAPP version for ROCm-OpenCL platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/clhelper/CLHelper.cpp

    r3806 r3807  
    178178                try
    179179                {
    180                     const char* majorVerPart = amdappPart+9;
     180                    const char* majorVerPart = amdappPart+2;
    181181                    const char* minorVerPart;
    182182                    const char* end;
     
    405405    if (binaryFormat == BinaryFormat::GALLIUM && mesaVersion != 0)
    406406        asmSetup.driverVersion = mesaVersion;
    407     else if ((binaryFormat == BinaryFormat::AMD ||
     407    else if ((binaryFormat == BinaryFormat::AMD || binaryFormat == BinaryFormat::ROCM ||
    408408            binaryFormat == BinaryFormat::AMDCL2) && amdappVersion != 0)
    409409        asmSetup.driverVersion = amdappVersion;
Note: See TracChangeset for help on using the changeset viewer.