Changeset 4952 in CLRX


Ignore:
Timestamp:
Sep 8, 2019, 8:08:29 AM (10 days ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCmBin: Convert from little-endian values from kernel descriptor in generateROCmMetadataMsgPack.

File:
1 edited

Legend:

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

    r4951 r4952  
    13951395        kwriter.putKeyString(".group_segment_fixed_size");
    13961396        kwriter.putValueUInt(hasValue(kernelMD.groupSegmentFixedSize) ?
    1397                 kernelMD.groupSegmentFixedSize : kdesc.groupSegmentFixedSize);
     1397                kernelMD.groupSegmentFixedSize : ULEV(kdesc.groupSegmentFixedSize));
    13981398        kwriter.putKeyString(".kernarg_segment_align");
    13991399        kwriter.putValueUInt(kernelMD.kernargSegmentAlign);
     
    14201420        kwriter.putKeyString(".private_segment_fixed_size");
    14211421        kwriter.putValueUInt(hasValue(kernelMD.privateSegmentFixedSize) ?
    1422                 kernelMD.privateSegmentFixedSize : kdesc.privateSegmentFixedSize);
     1422                kernelMD.privateSegmentFixedSize : ULEV(kdesc.privateSegmentFixedSize));
    14231423       
    14241424        if (kernelMD.reqdWorkGroupSize[0] != 0 || kernelMD.reqdWorkGroupSize[1] != 0 ||
Note: See TracChangeset for help on using the changeset viewer.