Changeset 3310 in CLRX


Ignore:
Timestamp:
Sep 5, 2017, 5:18:38 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmGallium?: add extra testcase to test inheritance of hsa config param values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/tests/amdasm/AsmGalliumFormat.cpp

    r3309 r3310  
    669669  ff00b6bec7010000
    670670)ffDXD", "", true
     671    },
     672    /* 3 - gallium (configured proginfo and AMDHSA) */
     673    { R"ffDXD(            .gallium
     674        .llvm_version 40000
     675            .kernel aa22
     676            .args
     677            .arg scalar, 8,,,SEXT,griddim
     678            .config
     679            .priority 1
     680            .floatmode 0x12
     681            .ieeemode
     682            .sgprsnum 36
     683            .vgprsnum 139
     684            .pgmrsrc2 523243
     685            .scratchbuffer 230
     686            .default_hsa_features
     687            .dims x
     688            .hsa_dims xy
     689            .hsa_priority 2
     690            .call_convention 0x34dac
     691            .debug_wavefront_private_segment_offset_sgpr 96
     692            .gds_segment_size 100
     693            .kernarg_segment_align 32
     694            .workgroup_group_segment_size 22
     695            .localsize 23
     696            .workgroup_fbarrier_count 3324
     697            .hsa_sgprsnum 79
     698            .hsa_vgprsnum 167
     699            .hsa_scratchbuffer 786
     700            .hsa_floatmode 0xdd
     701        .control_directive
     702        .int 1,2,4
     703.text
     704aa22:
     705    .skip 256
     706    .kernel aa22
     707    .control_directive
     708        .fill 116,1,0
     709)ffDXD", R"ffDXD(GalliumBinDump:
     710  Kernel: name=aa22, offset=0
     711    Config:
     712      dims=1, SGPRS=36, VGPRS=139, pgmRSRC2=0x7fbeb, ieeeMode=0x1
     713      floatMode=0x12, priority=1, localSize=23, scratchBuffer=230
     714    AMD HSA Config:
     715      amdCodeVersion=1.1
     716      amdMachine=1:0:0:0
     717      kernelCodeEntryOffset=256
     718      kernelCodePrefetchOffset=0
     719      kernelCodePrefetchSize=0
     720      maxScrachBackingMemorySize=0
     721      computePgmRsrc1=0x8dfa69
     722      computePgmRsrc2=0x7e9d1
     723      enableSgprRegisterFlags=0xb
     724      enableFeatureFlags=0xa
     725      workitemPrivateSegmentSize=786
     726      workgroupGroupSegmentSize=22
     727      gdsSegmentSize=100
     728      kernargSegmentSize=16
     729      workgroupFbarrierCount=3324
     730      wavefrontSgprCount=79
     731      workitemVgprCount=167
     732      reservedVgprFirst=0
     733      reservedVgprCount=0
     734      reservedSgprFirst=0
     735      reservedSgprCount=0
     736      debugWavefrontPrivateSegmentOffsetSgpr=96
     737      debugPrivateSegmentBufferSgpr=0
     738      kernargSegmentAlignment=5
     739      groupSegmentAlignment=4
     740      privateSegmentAlignment=4
     741      wavefrontSize=6
     742      callConvention=0x34dac
     743      runtimeLoaderKernelSymbol=0x0
     744      ControlDirective:
     745      0100000002000000040000000000000000000000000000000000000000000000
     746      0000000000000000000000000000000000000000000000000000000000000000
     747      0000000000000000000000000000000000000000000000000000000000000000
     748      0000000000000000000000000000000000000000000000000000000000000000
     749    Arg: scalar, true, griddim, size=8, tgtSize=8, tgtAlign=8
     750  Comment:
     751  nullptr
     752  GlobalData:
     753  nullptr
     754  Code:
     755  0100000000000000010000000000000000010000000000000000000000000000
     756  0000000000000000000000000000000069fa8d00d1e907000b000a0012030000
     757  16000000640000001000000000000000fc0c00004f00a7000000000000000000
     758  6000000005040406ac4d03000000000000000000000000000000000000000000
     759  0100000002000000040000000000000000000000000000000000000000000000
     760  0000000000000000000000000000000000000000000000000000000000000000
     761  0000000000000000000000000000000000000000000000000000000000000000
     762  0000000000000000000000000000000000000000000000000000000000000000
     763)ffDXD", "", true
    671764    }
    672765};
Note: See TracChangeset for help on using the changeset viewer.