Changeset 3327 in CLRX


Ignore:
Timestamp:
Sep 7, 2017, 1:33:48 PM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AmdCL2BinGen: Change type and fields in reserved Xgprs (setup data).

File:
1 edited

Legend:

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

    r3314 r3327  
    11341134    uint16_t sgprsNumAll;
    11351135    uint16_t vgprsNum16;
    1136     uint32_t vgprsNum;
    1137     uint32_t sgprsNum;
     1136    uint16_t vgprReserved;
     1137    uint16_t vgprReservedCount;
     1138    uint16_t sgprReserved;
     1139    uint16_t sgprReservedCount;
    11381140    uint32_t zero3;
    11391141    uint32_t setup2; // ??
     
    12561258    SLEV(setupData.sgprsNumAll, sgprsNum);
    12571259    SLEV(setupData.vgprsNum16, config.usedVGPRsNum);
    1258     SLEV(setupData.vgprsNum, config.usedVGPRsNum);
    1259     SLEV(setupData.sgprsNum, config.usedSGPRsNum);
     1260    SLEV(setupData.vgprReserved, config.usedVGPRsNum);
     1261    SLEV(setupData.vgprReservedCount, 0);
     1262    SLEV(setupData.sgprReserved, config.usedSGPRsNum);
     1263    SLEV(setupData.sgprReservedCount, 0);
    12601264    if (newBinaries)
    12611265        SLEV(setupData.setup2, 0x06040404U);
Note: See TracChangeset for help on using the changeset viewer.