Skip to content

Commit 6efa18f

Browse files
authored
Hotfix: tune aquavanjaram942X BBS+HHS NN datatype (#1403)
* tune aquavanjaram942X BBS NN datatype * Tune aquavanjaram942X HHS NN datatype * retune aquavanjaram942X HHS NN datatype * retune aquavanjaram942X HHS NN datatype with the setting of LoopDoWhile=false
1 parent 84307a6 commit 6efa18f

2 files changed

Lines changed: 578 additions & 0 deletions

File tree

library/src/blas3/Tensile/Logic/asm_full/aquavanjaram942X/aquavanjaram942_Cijk_Ailk_Bljk_BBS_BH.yaml

Lines changed: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21419,6 +21419,293 @@
2141921419
_VectorStore: 1
2142021420
_WorkspaceSizePerElemC: 0
2142121421
_staggerStrideShift: 0
21422+
- 1LDSBuffer: 1
21423+
AggressivePerfMode: 1
21424+
AssertAIGreaterThanEqual: -1
21425+
AssertAILessThanEqual: -1
21426+
AssertAlphaValue: false
21427+
AssertBetaValue: false
21428+
AssertCEqualsD: false
21429+
AssertFree0ElementMultiple: 8
21430+
AssertFree1ElementMultiple: 8
21431+
AssertMinApproxSize: 3
21432+
AssertSizeEqual: {}
21433+
AssertSizeGreaterThan: {3: 128}
21434+
AssertSizeLessThan: {}
21435+
AssertSizeMultiple: {}
21436+
AssertStrideAEqual: {0: 1}
21437+
AssertStrideBEqual: {0: 1}
21438+
AssertStrideCEqual: {0: 1}
21439+
AssertStrideDEqual: {0: 1}
21440+
AssertSummationElementMultiple: 64
21441+
AssignedDerivedParameters: true
21442+
AssignedProblemIndependentDerivedParameters: true
21443+
AtomicAddC: false
21444+
BufferLoad: true
21445+
BufferStore: true
21446+
CheckDimOverflow: 0
21447+
CheckTensorDimAsserts: false
21448+
ClusterLocalRead: true
21449+
CodeObjectVersion: default
21450+
CustomKernelName: ''
21451+
DepthU: 32
21452+
DepthULdsDivisor: 1
21453+
DirectToLdsA: false
21454+
DirectToLdsB: false
21455+
DirectToVgprA: false
21456+
DirectToVgprB: false
21457+
DisableAtomicFail: 0
21458+
DisableKernelPieces: 0
21459+
DisableVgprOverlapping: false
21460+
EdgeType: ShiftPtr
21461+
EnableF32XdlMathOp: false
21462+
EnableMatrixInstruction: true
21463+
EnableMatrixInstructionStore: true
21464+
ExpandPointerSwap: true
21465+
ExtraLatencyForLR: 0
21466+
ExtraMiLatencyLeft: 0
21467+
ForceStoreSC1: false
21468+
Fp16AltImpl: false
21469+
Fp16AltImplRound: false
21470+
FractionalLoad: 0
21471+
GlobalLoadVectorWidthA: 8
21472+
GlobalLoadVectorWidthB: 8
21473+
GlobalRead2A: true
21474+
GlobalRead2B: true
21475+
GlobalReadCoalesceGroupA: true
21476+
GlobalReadCoalesceGroupB: true
21477+
GlobalReadCoalesceVectorA: true
21478+
GlobalReadCoalesceVectorB: true
21479+
GlobalReadPerMfma: 1
21480+
GlobalReadVectorWidth: 8
21481+
GlobalSplitU: 1
21482+
GlobalSplitUAlgorithm: SingleBuffer
21483+
GlobalSplitUAtomicAdd: false
21484+
GlobalSplitUSummationAssignmentRoundRobin: true
21485+
GlobalSplitUWorkGroupMappingRoundRobin: false
21486+
GlobalWriteVectorWidth: 2
21487+
GroupLoadStore: false
21488+
GuaranteeNoPartialA: true
21489+
GuaranteeNoPartialB: true
21490+
ISA: [9, 4, 2]
21491+
InnerUnroll: 1
21492+
InterleaveAlpha: 0
21493+
KernelLanguage: Assembly
21494+
LSCA: 256
21495+
LSCB: 32
21496+
LSPA: 2
21497+
LSPB: 64
21498+
LVCA: 32
21499+
LVCB: 4
21500+
LVPA: 1
21501+
LVPB: 8
21502+
LdcEqualsLdd: false
21503+
LdsBlockSizePerPadA: 0
21504+
LdsBlockSizePerPadB: 128
21505+
LdsInitCVgprs: false
21506+
LdsNumElements: 17408
21507+
LdsNumElementsAlignedA: 8192
21508+
LdsNumElementsAlignedB: 9216
21509+
LdsOffsetA: 0
21510+
LdsOffsetA_Blk: 32768
21511+
LdsOffsetB: 8192
21512+
LdsOffsetB_Blk: 40960
21513+
LdsPadA: 0
21514+
LdsPadB: 8
21515+
LocalDotLayout: 1
21516+
LocalRead2A: true
21517+
LocalRead2B: true
21518+
LocalReadVectorWidth: 8
21519+
LocalSplitU: 1
21520+
LocalWrite2A: true
21521+
LocalWrite2B: true
21522+
LocalWritePerMfma: -1
21523+
LocalWriteUseSgprA: false
21524+
LocalWriteUseSgprB: false
21525+
LoopDoWhile: false
21526+
LoopIters: 4
21527+
LoopTail: true
21528+
LoopUnroll: 32
21529+
MACInstruction: FMA
21530+
MFMA_BF16_1K: true
21531+
MIArchVgpr: false
21532+
MIBlock: [32, 32, 8, 1, 1, 1]
21533+
MIInputPerThread: 4
21534+
MIOutputVectorWidth: 4
21535+
MIRegPerOut: 1
21536+
MIWaveGroup: [4, 1]
21537+
MIWaveTile: [2, 8]
21538+
MIWaveTileA: 2
21539+
MIWaveTileB: 8
21540+
MacroTile0: 256
21541+
MacroTile1: 256
21542+
MacroTileA: 256
21543+
MacroTileB: 256
21544+
MacroTileShapeMax: 64
21545+
MacroTileShapeMin: 1
21546+
MagicDivAlg: 2
21547+
MatrixInstB: 1
21548+
MatrixInstBM: 1
21549+
MatrixInstBN: 1
21550+
MatrixInstK: 8
21551+
MatrixInstM: 32
21552+
MatrixInstN: 32
21553+
MatrixInstruction: [32, 32, 8, 1]
21554+
MaxOccupancy: 40
21555+
MaxVgprNumber: 256
21556+
MemoryModifierFormat: SC0
21557+
MinKForGSU: 256
21558+
MinVgprNumber: 0
21559+
NoLdsWriteCode: false
21560+
NoReject: false
21561+
NonTemporalA: 0
21562+
NonTemporalB: 0
21563+
NonTemporalC: 0
21564+
NonTemporalD: 0
21565+
NumElementsPerBatchStore: 16
21566+
NumElementsPerThread: 256
21567+
NumGlobalWriteVectorsPerThread: 128
21568+
NumLoadsA: 4
21569+
NumLoadsB: 4
21570+
NumLoadsCoalescedA: 1
21571+
NumLoadsCoalescedB: 1
21572+
NumLoadsPerpendicularA: 4
21573+
NumLoadsPerpendicularB: 4
21574+
NumThreads: 256
21575+
OptNoLoadLoop: 1
21576+
OptPreLoopVmcnt: 0
21577+
PackBatchDims: 0
21578+
PackFreeDims: 1
21579+
PackGranularity: 2
21580+
PackSummationDims: 0
21581+
PackedC0IdxChars: [I]
21582+
PackedC0IndicesX: [0]
21583+
PackedC1IdxChars: [J]
21584+
PackedC1IndicesX: [1]
21585+
PerformanceSyncLocation: -1
21586+
PerformanceWaitCount: -1
21587+
PerformanceWaitLocation: -1
21588+
PersistentKernel: 0
21589+
PersistentKernelAlongBatch: false
21590+
PrefetchAcrossPersistent: 0
21591+
PrefetchAcrossPersistentMode: 0
21592+
PrefetchGlobalRead: 2
21593+
PrefetchLocalRead: 5
21594+
ProblemType:
21595+
AllowNoFreeDims: false
21596+
AssignedDerivedParameters: true
21597+
Batched: true
21598+
ComplexConjugateA: false
21599+
ComplexConjugateB: false
21600+
ComputeDataType: 0
21601+
ConvolutionConfig: []
21602+
DataType: 7
21603+
DestDataType: 7
21604+
F32XdlMathOp: 0
21605+
Fp16AltImpl: false
21606+
Fp16AltImplRound: false
21607+
Fp32toFp8SWClip: true
21608+
Fp8NoPackUpConversion: false
21609+
HighPrecisionAccumulate: true
21610+
Index0: 0
21611+
Index01A: 0
21612+
Index01B: 1
21613+
Index1: 1
21614+
IndexAssignmentsA: [0, 3, 2]
21615+
IndexAssignmentsB: [3, 1, 2]
21616+
IndexAssignmentsLD: [4, 5, 6, 7]
21617+
IndexUnroll: 3
21618+
IndexUnrollA: 1
21619+
IndexUnrollB: 0
21620+
IndicesBatch: [2]
21621+
IndicesFree: [0, 1]
21622+
IndicesSummation: [3]
21623+
MirrorDimsA: []
21624+
MirrorDimsB: []
21625+
NumIndicesBatch: 1
21626+
NumIndicesC: 3
21627+
NumIndicesFree: 2
21628+
NumIndicesLD: 4
21629+
NumIndicesSummation: 1
21630+
OperationType: GEMM
21631+
SetConstStrideA: []
21632+
SetConstStrideB: []
21633+
SilentHighPrecisionAccumulate: false
21634+
StochasticRounding: false
21635+
StridedBatched: true
21636+
TLUA: true
21637+
TLUB: false
21638+
Tensor0: 0
21639+
Tensor1: 1
21640+
TileA: 0
21641+
TileAwareSelection: false
21642+
TileB: 1
21643+
TotalIndices: 4
21644+
TransposeA: false
21645+
TransposeB: false
21646+
UseBeta: true
21647+
UseInitialStridesAB: false
21648+
UseInitialStridesCD: false
21649+
ZeroPadA: []
21650+
ZeroPadB: []
21651+
ReplacementKernel: false
21652+
ScheduleGlobalRead: 1
21653+
ScheduleIterAlg: 3
21654+
ScheduleLocalWrite: 1
21655+
SolutionIndex: 75
21656+
SolutionNameMin: Cijk_Ailk_Bljk_BBS_BH_MT256x256x32_MI32x32x8x1_SN_WGM32
21657+
SourceSwap: true
21658+
StaggerU: 0
21659+
StaggerUMapping: 0
21660+
StaggerUStride: 0
21661+
StoreCInUnroll: false
21662+
StoreCInUnrollExact: false
21663+
StoreCInUnrollInterval: 1
21664+
StoreCInUnrollPostLoop: false
21665+
StorePriorityOpt: false
21666+
StoreRemapVectorWidth: 0
21667+
StoreSyncOpt: 4
21668+
StoreVectorWidth: 2
21669+
StreamK: 0
21670+
SubGroup0: 8
21671+
SubGroup1: 32
21672+
SubGroupA: 8
21673+
SubGroupB: 32
21674+
SuppressNoLoadLoop: false
21675+
ThreadSeparateGlobalReadA: 0
21676+
ThreadSeparateGlobalReadB: 0
21677+
ThreadTile: [2, 256]
21678+
ThreadTile0: 32
21679+
ThreadTile1: 8
21680+
ThreadTileA: 32
21681+
ThreadTileB: 8
21682+
TransposeLDS: 1
21683+
UnrollIncIsDepthU: 0
21684+
UnrollMajorLDSA: false
21685+
UnrollMajorLDSB: true
21686+
UnrollMemFence: false
21687+
Use64bShadowLimit: 1
21688+
UseInstOffsetForGRO: 0
21689+
UseSgprForGRO: -1
21690+
Valid: true
21691+
VectorAtomicWidth: 1
21692+
VectorStore: -1
21693+
VectorWidth: 2
21694+
VectorWidthA: 2
21695+
VectorWidthB: 2
21696+
VgprForLocalReadPacking: true
21697+
WaveSeparateGlobalReadA: 1
21698+
WaveSeparateGlobalReadB: 0
21699+
WavefrontSize: 64
21700+
WorkGroup: [128, 2, 1]
21701+
WorkGroupMapping: 32
21702+
WorkGroupMappingType: B
21703+
_DepthULds: 32
21704+
_GlobalAccumulation: null
21705+
_UseSgprForGRO: 1
21706+
_VectorStore: 1
21707+
_WorkspaceSizePerElemC: 0
21708+
_staggerStrideShift: 0
2142221709
- [2, 3, 0, 1]
2142321710
- - - [6144, 4864, 1, 4096]
2142421711
- [41, 74.92]
@@ -21580,6 +21867,8 @@
2158021867
- [73, 6.2]
2158121868
- - [9728, 64, 1, 1024]
2158221869
- [74, 10.2]
21870+
- - [98304, 98304, 1, 98304]
21871+
- [75, 83.29]
2158321872
- null
2158421873
- null
2158521874
- DeviceEfficiency

0 commit comments

Comments
 (0)