Changeset 4938 in CLRX


Ignore:
Timestamp:
Aug 31, 2019, 9:06:48 AM (3 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: Add missing '.config' in config dump (for LLVM10 bin format). Do not print 256-byte kernel info data if LLVM10 binary.

File:
1 edited

Legend:

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

    r4937 r4938  
    117117    const uint32_t pgmRsrc1 = computePgmRsrc1;
    118118    const uint32_t pgmRsrc2 = computePgmRsrc2;
     119   
     120    output.write("    .config\n", 12);
    119121   
    120122    const cxuint dimMask = getDefaultDimMask(arch, pgmRsrc2);
     
    662664        if (region.type!=ROCmRegionType::DATA)
    663665        {
    664             if (doMetadata)
     666            if (doMetadata && !llvm10BinFormat)
    665667            {
    666668                if (!doDumpConfig)
     
    10341036        output.write(".globaldata\n", 12);
    10351037        output.write(".gdata:\n", 8); /// symbol used by text relocations
    1036         printDisasmData(rocmInput->globalDataSize, rocmInput->globalData, output);
     1038        if (rocmInput->llvm10BinFormat)
     1039            printDisasmData(rocmInput->globalDataSize, rocmInput->globalData, output);
     1040        else
     1041        {
     1042            rocmInput->kernelDescs.
     1043        }
    10371044    }
    10381045   
Note: See TracChangeset for help on using the changeset viewer.