Changeset 3729 in CLRX


Ignore:
Timestamp:
Feb 6, 2018, 8:29:40 PM (17 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Enable metadataInfo config for new binary format by default.
ROCmBinGen: If no version value then put default version.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/AsmROCmFormat.cpp

    r3728 r3729  
    22532253        }
    22542254    }
     2255   
     2256    // enable metadata config for new binary format by default (if no metadata section)
     2257    if (output.newBinFormat && output.metadata==nullptr)
     2258        output.useMetadataInfo = true;
    22552259   
    22562260    GPUArchitecture arch = getGPUArchitectureFromDeviceType(assembler.deviceType);
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r3727 r3729  
    15671567    // version
    15681568    output += "Version:         ";
    1569     genArrayValue(2, mdInfo.version, output);
     1569    if (hasValue(mdInfo.version[0]))
     1570        genArrayValue(2, mdInfo.version, output);
     1571    else // default
     1572        output += "[ 1, 0 ]\n";
    15701573    if (!mdInfo.printfInfos.empty())
    15711574        output += "Printf:          \n";
Note: See TracChangeset for help on using the changeset viewer.