Changeset 3806 in CLRX


Ignore:
Timestamp:
Feb 16, 2018, 2:51:08 PM (14 months ago)
Author:
matszpk
Message:

CLRadeonExtender: CLHelper: Force to use new ROCm binary format.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/clhelper/CLHelper.h

    r3575 r3806  
    8383    CString options; ///< OpenCL base options
    8484    Flags asmFlags;     ///< assembler flags
     85    bool newROCmBinFormat; ///< new ROCm binary format
    8586};
    8687
  • CLRadeonExtender/trunk/clhelper/CLHelper.cpp

    r3805 r3806  
    412412               (useLegacy ? "-legacy" : "");
    413413    asmSetup.asmFlags = asmFlags;
     414    if (binaryFormat == BinaryFormat::ROCM)
     415        asmSetup.newROCmBinFormat = true;
    414416    return asmSetup;
    415417}
     
    438440    if (asmSetup.driverVersion != 0)
    439441        assembler.setDriverVersion(asmSetup.driverVersion);
     442    assembler.setNewROCmBinFormat(asmSetup.newROCmBinFormat);
    440443    // initial def symbols
    441444    for (const auto& symbol: defSymbols)
Note: See TracChangeset for help on using the changeset viewer.