Changeset 3676 in CLRX


Ignore:
Timestamp:
Jan 29, 2018, 2:06:41 PM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Amd&AmdCL2: Add '.reqd_work_group_size' pseudo-op (this same as '.cws').

Location:
CLRadeonExtender/trunk
Files:
8 edited

Legend:

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

    r3575 r3676  
    5353    "metadata", "pgmrsrc1", "pgmrsrc2", "priority",
    5454    "private_elem_size", "private_segment_align",
    55     "privmode", "reserved_sgprs", "reserved_vgprs",
     55    "privmode", "reqd_work_group_size",
     56    "reserved_sgprs", "reserved_vgprs",
    5657    "runtime_loader_kernel_symbol", "rwdata", "sampler",
    5758    "samplerinit", "samplerreloc", "scratchbuffer", "setup",
     
    9192    AMDCL2OP_METADATA, AMDCL2OP_PGMRSRC1, AMDCL2OP_PGMRSRC2, AMDCL2OP_PRIORITY,
    9293    AMDCL2OP_PRIVATE_ELEM_SIZE, AMDCL2OP_PRIVATE_SEGMENT_ALIGN,
    93     AMDCL2OP_PRIVMODE, AMDCL2OP_RESERVED_SGPRS, AMDCL2OP_RESERVED_VGPRS,
     94    AMDCL2OP_PRIVMODE, AMDCL2OP_REQD_WORK_GROUP_SIZE,
     95    AMDCL2OP_RESERVED_SGPRS, AMDCL2OP_RESERVED_VGPRS,
    9496    AMDCL2OP_RUNTIME_LOADER_KERNEL_SYMBOL, AMDCL2OP_RWDATA,
    9597    AMDCL2OP_SAMPLER, AMDCL2OP_SAMPLERINIT,
     
    14291431            break;
    14301432        case AMDCL2OP_CWS:
     1433        case AMDCL2OP_REQD_WORK_GROUP_SIZE:
    14311434            AsmAmdCL2PseudoOps::setCWS(*this, stmtPlace, linePtr);
    14321435            break;
  • CLRadeonExtender/trunk/amdasm/AsmAmdFormat.cpp

    r3575 r3676  
    4444    "intconsts", "localsize", "metadata", "outputs", "persistentbuffers",
    4545    "pgmrsrc2", "printfid", "privateid", "proginfo",
     46    "reqd_work_group_size",
    4647    "sampler", "scratchbuffer", "scratchbuffers", "segment",
    4748    "sgprsnum", "subconstantbuffers", "tgsize", "uav", "uavid",
     
    6364    AMDOP_OUTPUTS,AMDOP_PERSISTENTBUFFERS, AMDOP_PGMRSRC2,
    6465    AMDOP_PRINTFID, AMDOP_PRIVATEID, AMDOP_PROGINFO,
     66    AMDOP_REQD_WORK_GROUP_SIZE,
    6567    AMDOP_SAMPLER, AMDOP_SCRATCHBUFFER, AMDOP_SCRATCHBUFFERS, AMDOP_SEGMENT,
    6668    AMDOP_SGPRSNUM, AMDOP_SUBCONSTANTBUFFERS, AMDOP_TGSIZE, AMDOP_UAV, AMDOP_UAVID,
     
    15241526            break;
    15251527        case AMDOP_CWS:
     1528        case AMDOP_REQD_WORK_GROUP_SIZE:
    15261529            AsmAmdPseudoOps::setCWS(*this, stmtPlace, linePtr);
    15271530            break;
  • CLRadeonExtender/trunk/doc/ClrxAsmAmd.md

    r3572 r3676  
    165165add new CAL note.
    166166
    167 ### .cws
     167### .cws, .reqd_work_group_size
    168168
    169169Syntax: .cws SIZEHINT[, SIZEHINT[, SIZEHINT]]
     170Syntax: .reqd_work_group_size SIZEHINT[, SIZEHINT[, SIZEHINT]]
    170171
    171172This pseudo-operation must be inside kernel configuration.
  • CLRadeonExtender/trunk/doc/ClrxAsmAmdCl2.md

    r3572 r3676  
    198198Must be defined inside kernel.
    199199
    200 ### .cws
     200### .cws, .reqd_work_group_size
    201201
    202202Syntax: .cws SIZEHINT[, SIZEHINT[, SIZEHINT]]
     203Syntax: .reqd_work_group_size SIZEHINT[, SIZEHINT[, SIZEHINT]]
    203204
    204205This pseudo-operation must be inside any kernel configuration.
  • CLRadeonExtender/trunk/editors/clrx.vim

    r3672 r3676  
    243243syntax match asmPseudoOps "\.regvar"
    244244syntax match asmPseudoOps "\.rept"
     245syntax match asmPseudoOps "\.reqd_work_group_size"
    245246syntax match asmPseudoOps "\.reserved_sgprs"
    246247syntax match asmPseudoOps "\.reserved_vgprs"
  • CLRadeonExtender/trunk/editors/gedit.lang

    r3672 r3676  
    284284            <keyword>regvar</keyword>
    285285            <keyword>rept</keyword>
     286            <keyword>reqd_work_group_size</keyword>
    286287            <keyword>reserved_sgprs</keyword>
    287288            <keyword>reserved_vgprs</keyword>
  • CLRadeonExtender/trunk/editors/kate.xml

    r3672 r3676  
    19921992            <item>.regvar</item>
    19931993            <item>.rept</item>
     1994            <item>.reqd_work_group_size</item>
    19941995            <item>.reserved_sgprs</item>
    19951996            <item>.reserved_vgprs</item>
  • CLRadeonExtender/trunk/editors/notepad++.xml

    r3672 r3676  
    16121612.regvar
    16131613.rept
     1614.reqd_work_group_size
    16141615.reserved_sgprs
    16151616.reserved_vgprs
Note: See TracChangeset for help on using the changeset viewer.