Changeset 4880 in CLRX


Ignore:
Timestamp:
Aug 8, 2019, 8:49:49 PM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Add to ROCm HiddenMultiGridSyncArg? value kind of an argument.

Location:
CLRadeonExtender/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/amdbin/ROCmBinaries.h

    r4879 r4880  
    8484    HIDDEN_DEFAULT_QUEUE,   ///< OpenCL default queue
    8585    HIDDEN_COMPLETION_ACTION,    ///< ???
    86     MAX_VALUE = HIDDEN_COMPLETION_ACTION
     86    HIDDEN_MULTIGRID_SYNC_ARG, /// ???
     87    MAX_VALUE = HIDDEN_MULTIGRID_SYNC_ARG
    8788};
    8889
  • CLRadeonExtender/trunk/amdasm/AsmROCmFormat.cpp

    r4517 r4880  
    810810    { "goz", cxuint(ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Z) },
    811811    { "image", cxuint(ROCmValueKind::IMAGE) },
     812    { "multigridsyncarg", cxuint(ROCmValueKind::HIDDEN_MULTIGRID_SYNC_ARG) },
    812813    { "none", cxuint(ROCmValueKind::HIDDEN_NONE) },
    813814    { "pipe", cxuint(ROCmValueKind::PIPE) },
  • CLRadeonExtender/trunk/amdasm/DisasmROCm.cpp

    r4878 r4880  
    588588{
    589589    "value", "globalbuf", "dynshptr", "sampler", "image", "pipe", "queue",
    590     "gox", "goy", "goz", "none", "printfbuf", "defqueue", "complact"
     590    "gox", "goy", "goz", "none", "printfbuf", "defqueue", "complact", "multigridsyncarg"
    591591};
    592592
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r4817 r4880  
    887887    { "HiddenGlobalOffsetY", ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Y },
    888888    { "HiddenGlobalOffsetZ", ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Z },
     889    { "HiddenMultiGridSyncArg", ROCmValueKind::HIDDEN_MULTIGRID_SYNC_ARG },
    889890    { "HiddenNone", ROCmValueKind::HIDDEN_NONE },
    890891    { "HiddenPrintfBuffer", ROCmValueKind::HIDDEN_PRINTF_BUFFER },
     
    16541655    "ByValue", "GlobalBuffer", "DynamicSharedPointer", "Sampler", "Image", "Pipe", "Queue",
    16551656    "HiddenGlobalOffsetX", "HiddenGlobalOffsetY", "HiddenGlobalOffsetZ", "HiddenNone",
    1656     "HiddenPrintfBuffer", "HiddenDefaultQueue", "HiddenCompletionAction"
     1657    "HiddenPrintfBuffer", "HiddenDefaultQueue", "HiddenCompletionAction",
     1658    "HiddenMultiGridSyncArg"
    16571659};
    16581660
  • CLRadeonExtender/trunk/doc/ClrxAsmRocm.md

    r4453 r4880  
    9191* goz, globaloffsetz - hidden global offset z
    9292* image - image object
     93* multigridsyncarg - global address to multigrid synchronization
    9394* none - hidden none to make space between arguments
    9495* pipe - OpenCL 2.0 pipe object
  • CLRadeonExtender/trunk/tests/amdasm/AsmROCmFormat.cpp

    r4197 r4880  
    6161{
    6262    "value", "globalbuf", "dynshptr", "sampler", "image", "pipe", "queue",
    63     "gox", "goy", "goz", "none", "printfbuf", "defqueue", "complact"
     63    "gox", "goy", "goz", "none", "printfbuf", "defqueue", "complact", "mgsa"
    6464};
    6565
     
    857857        .arg , "", 8, 8, globaloffsety, i64
    858858        .arg , "", 8, 8, globaloffsetz, i64
     859        .arg , "", 8, 8, multigridsyncarg, i64
    859860.text
    860861kxx1:   .skip 256
     
    11001101      Arg name=, type=, size=8, align=8
    11011102        valuekind=gox, valuetype=i64, pointeeAlign=0
     1103        addrSpace=none, accQual=default, actAccQual=default
     1104        Flags=
     1105      Arg name=, type=, size=8, align=8
     1106        valuekind=mgsa, valuetype=i64, pointeeAlign=0
    11021107        addrSpace=none, accQual=default, actAccQual=default
    11031108        Flags=
  • CLRadeonExtender/trunk/tests/amdbin/ROCmMetadata.cpp

    r3758 r4880  
    262262        ValueType:       I8
    263263        AddrSpaceQual:   Global
     264      - Size:            8
     265        Align:           8
     266        ValueKind:       HiddenMultiGridSyncArg
     267        ValueType:       I8
     268        AddrSpaceQual:   Global
    264269    CodeProps:       
    265270      KernargSegmentSize: 64
     
    327332                          false, false, false, false },
    328333                        { "", "", 8, 8, 0, ROCmValueKind::HIDDEN_DEFAULT_QUEUE,
     334                          ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
     335                          ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
     336                          false, false, false, false },
     337                        { "", "", 8, 8, 0, ROCmValueKind::HIDDEN_MULTIGRID_SYNC_ARG,
    329338                          ROCmValueType::INT8, ROCmAddressSpace::GLOBAL,
    330339                          ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT,
Note: See TracChangeset for help on using the changeset viewer.