Changeset 3734 in CLRX


Ignore:
Timestamp:
Feb 7, 2018, 1:51:56 PM (17 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Asm: Correct default values for CWS (reqd_work_group_size) and other work group size parameters.

Location:
CLRadeonExtender/trunk/amdasm
Files:
2 edited

Legend:

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

    r3676 r3734  
    863863    const char* end = asmr.line + asmr.lineSize;
    864864    skipSpacesToEnd(linePtr, end);
    865     // default value is (1,0,0)
     865    // default value is (1,1,1)
    866866    out[0] = 1;
    867     out[1] = 0;
    868     out[2] = 0;
     867    out[1] = 1;
     868    out[2] = 1;
    869869    const char* valuePlace = linePtr;
    870870    bool good = getAbsoluteValueArg(asmr, out[0], linePtr, true);
  • CLRadeonExtender/trunk/amdasm/AsmROCmFormat.cpp

    r3731 r3734  
    566566   
    567567    skipSpacesToEnd(linePtr, end);
    568     uint64_t out[3] = { 0, 0, 0 };
     568    uint64_t out[3] = { 1, 1, 1 };
    569569    // parse CWS (1-3 values)
    570570    if (!AsmAmdPseudoOps::parseCWS(asmr, pseudoOpPlace, linePtr, out))
     
    592592   
    593593    skipSpacesToEnd(linePtr, end);
    594     uint64_t out[3] = { 0, 0, 0 };
     594    uint64_t out[3] = { 1, 1, 1 };
    595595    // parse CWS (1-3 values)
    596596    if (!AsmAmdPseudoOps::parseCWS(asmr, pseudoOpPlace, linePtr, out))
     
    618618   
    619619    skipSpacesToEnd(linePtr, end);
    620     uint64_t out[3] = { 0, 0, 0 };
     620    uint64_t out[3] = { 1, 1, 1 };
    621621    // parse CWS (1-3 values)
    622622    if (!AsmAmdPseudoOps::parseCWS(asmr, pseudoOpPlace, linePtr, out))
Note: See TracChangeset for help on using the changeset viewer.