TestParameters: marks: [skip-gfx900, skip-gfx906, skip-gfx908, skip-gfx90a, skip-gfx950, skip-gfx1010, skip-gfx1011, skip-gfx1012, skip-gfx1030, skip-gfx1100, skip-gfx1101, skip-gfx1102, skip-gfx1200, skip-gfx1201] # not supported by arch GlobalParameters: NumElementsToValidate: -1 MinimumRequiredVersion: 5.0.0 PrintLevel: 1 PrintSolutionRejectionReason: True Device: 0 CMakeBuildType: Release KernelTime: True MaxWorkspaceSize: 13421772800 DataInitTypeAlpha: 1 DataInitTypeBeta: 0 NumElementsToValidate: -1 BoundsCheck: 2 BenchmarkProblems: ######################################## # LSU4 - 4 waves ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeB: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 0 TransposeB: 0 UseBeta: True Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 1, 1, 1,1 ] - [16, 16, 16, 1, 1, 2, 1, 1,1 ] - [16, 16, 16, 1, 1, 4, 1, 1,1 ] - [16, 16, 16, 1, 1, 1, 2, 1,1 ] - [16, 16, 16, 1, 1, 1, 4, 1,1 ] - [16, 16, 16, 1, 1, 2, 2, 1,1 ] - WorkGroup: - [4,4,4] - GlobalReadVectorWidthA: [8] - GlobalReadVectorWidthB: [8] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [128] - VectorWidthA: [1,2,-1] - VectorWidthB: [1,2,-1] - MIArchVgpr: [0] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [256] - StaggerUMapping: [2] - WorkGroupMapping: [1] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [0,1,2] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitU: [1] - GlobalSplitUAlgorithm: ["MultipleBuffer", "MultipleBufferSingleKernel"] - SourceSwap: [0, 1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] ######################################## # LSU2 - 2 waves ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeA: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 0 TransposeB: 0 UseBeta: True Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: # - ConvertAfterDS: [True] - MatrixInstruction: - [16, 16, 16, 1, 1, 1, 1, 1,1 ] - [16, 16, 16, 1, 1, 2, 1, 1,1 ] - [16, 16, 16, 1, 1, 4, 1, 1,1 ] - [16, 16, 16, 1, 1, 1, 2, 1,1 ] - [16, 16, 16, 1, 1, 1, 4, 1,1 ] - [16, 16, 16, 1, 1, 2, 2, 1,1 ] - WorkGroup: - [4,4,2] - GlobalReadVectorWidthA: [8] - GlobalReadVectorWidthB: [8,16] - LocalReadVectorWidth: [8] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [128,256,512] - VectorWidthA: [1,2,-1] - VectorWidthB: [1,2,-1] - MIArchVgpr: [0] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [256,512,1024] - StaggerUMapping: [2] - WorkGroupMapping: [1] - LocalReadVectorWidth: [8] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [0,1,2] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitU: [1] - GlobalSplitUAlgorithm: ["MultipleBuffer", "MultipleBufferSingleKernel"] - SourceSwap: [0, 1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] ######################################## # LSU2 - 4/8 waves ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeA: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 0 TransposeB: 0 UseBeta: True Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 1, 1, 2,1 ] - [16, 16, 16, 1, 1, 2, 1, 1,2 ] - [16, 16, 16, 1, 1, 4, 1, 2,2 ] - [16, 16, 16, 1, 1, 1, 2, 2,1 ] - [16, 16, 16, 1, 1, 1, 4, 1,2 ] - [16, 16, 16, 1, 1, 1, 4, 1,4 ] - [16, 16, 16, 1, 1, 2, 2, 2,2 ] - WorkGroup: - [4,4,2] - GlobalReadVectorWidthA: [8] - GlobalReadVectorWidthB: [4] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [64] - VectorWidthA: [1,2,-1] - VectorWidthB: [1,2,-1] - MIArchVgpr: [0] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [128] - StaggerUMapping: [2] - WorkGroupMapping: [1] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [0,1,2] - LdsBlockSizePerPadA: [0] - LdsBlockSizePerPadB: [0] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [0] - LdsPadB: [0] - 1LDSBuffer: [1] - GlobalSplitU: [1] - GlobalSplitUAlgorithm: ["MultipleBuffer", "MultipleBufferSingleKernel"] - SourceSwap: [0,1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] ######################################## # LSU4 - 8 waves ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeA: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 0 TransposeB: 0 UseBeta: True Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 1, 1, 2,1 ] - [16, 16, 16, 1, 1, 2, 1, 1,2 ] - [16, 16, 16, 1, 1, 1, 2, 2,1 ] - [16, 16, 16, 1, 1, 1, 4, 1,2 ] - [16, 16, 16, 1, 1, 2, 2, 2,1 ] - [16, 16, 16, 1, 1, 4, 1, 2,1 ] - WorkGroup: - [4,4,4] - GlobalReadVectorWidthA: [-1] - GlobalReadVectorWidthB: [-1] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [64, 128] - VectorWidthA: [1,2,-1] - VectorWidthB: [1,2,-1] - MIArchVgpr: [0] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [128, 256] - StaggerUMapping: [2] - WorkGroupMapping: [1] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [0,1,2] - LdsBlockSizePerPadA: [0] - LdsBlockSizePerPadB: [0] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [0] - LdsPadB: [0] - 1LDSBuffer: [1] - GlobalSplitU: [1] - GlobalSplitUAlgorithm: ["MultipleBuffer", "MultipleBufferSingleKernel"] - SourceSwap: [0,1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] ######################################## # LSU4 + GSU ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeB: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 0 TransposeB: 0 UseBeta: True Batched: True UseBias: 1 Activation: True ActivationType: all UseScaleAlphaVec: 1 UseScaleAB: "Scalar" - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 1, 1, 1,1 ] - [16, 16, 16, 1, 1, 2, 1, 1,1 ] - [16, 16, 16, 1, 1, 4, 1, 1,1 ] - [16, 16, 16, 1, 1, 1, 2, 1,1 ] - [16, 16, 16, 1, 1, 1, 4, 1,1 ] - [16, 16, 16, 1, 1, 2, 2, 1,1 ] - WorkGroup: - [4,4,4] - GlobalReadVectorWidthA: [8] - GlobalReadVectorWidthB: [8] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [128] - VectorWidthA: [-1] - VectorWidthB: [-1] - MIArchVgpr: [0, 1] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [256] - StaggerUMapping: [2] - WorkGroupMapping: [1] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [0,1,2] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitU: [1,2,9] - GlobalSplitUAlgorithm: ["MultipleBuffer", "MultipleBufferSingleKernel"] - SourceSwap: [0, 1] - ActivationFuncCall: [0, 1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] - Exact: [256, 255, 1, 1101] - Exact: [256, 257, 1, 1101] - BiasTypeArgs: ['s'] - ActivationArgs: - [Enum: relu] ######################################## # LSU4 - long VW ######################################## - - # ProblemType OperationType: GEMM DataType: b DestDataType: b ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 1 TransposeB: 0 UseBeta: True Batched: True Activation: True ActivationType: all ActivationHPA: True UseScaleAlphaVec: 1 - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 8, 1, 1,1 ] - WorkGroup: - [4,4,2] - [4,4,4] - GlobalReadVectorWidthA: [8] - GlobalReadVectorWidthB: [8] - LocalReadVectorWidth: [8] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [128] - VectorWidthA: [-1] - VectorWidthB: [-1] - MIArchVgpr: [0, 1] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [512] - StaggerUMapping: [2] - WorkGroupMapping: [1] - LocalReadVectorWidth: [8] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [2] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitU: [1] - GlobalSplitUAlgorithm: ["MultipleBuffer"] - SourceSwap: [1] - ActivationFuncCall: [0, 1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [128, 128, 1, 128] - ActivationArgs: - [Enum: tanh] ######################################## # LSU2 - Multi-batches ######################################## - - # ProblemType OperationType: GEMM DataType: h DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 1 TransposeB: 0 UseBeta: True UseBias: 1 Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 4, 4, 1, 2] - WorkGroup: - [16, 8, 2] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - DepthU: [128] - ScheduleIterAlg: [3] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitUAlgorithm: ["MultipleBuffer"] - SourceSwap: [1] - GlobalReadVectorWidthA: [8] - GlobalReadVectorWidthB: [8] - VectorWidthA: [1] - StoreSyncOpt: [0] - StaggerU: [0] - WorkGroupMapping: [1] - MIArchVgpr: [1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] - BiasTypeArgs: ['h'] ######################################## # LSU4 - 4 waves larger MT ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeB: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 0 TransposeB: 1 UseBeta: True Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16, 16, 1, 1, 6, 6, 1,1 ] - [16, 16, 16, 1, 1, 4, 6, 1,1 ] - [16, 16, 16, 1, 1, 6, 4, 1,1 ] - [16, 16, 16, 1, 1, 8, 4, 1,1 ] - [16, 16, 16, 1, 1, 4, 8, 1,1 ] - [16, 16, 16, 1, 1, 8, 8, 1,1 ] - WorkGroup: - [4,4,4] - GlobalReadVectorWidthA: [8, -1] - GlobalReadVectorWidthB: [8, -1] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [32,64] - VectorWidthA: [1,2,-1] - VectorWidthB: [1,2,-1] - MIArchVgpr: [0] - LocalWritePerMfma: [-1] - StaggerU: [4] - StaggerUStride: [256] - StaggerUMapping: [2] - WorkGroupMapping: [1] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [0,1,2] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitU: [1] - SourceSwap: [0, 1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] - Exact: [512, 512, 1, 640] ######################################## # LSU2 - 2 waves larger MT ######################################## - - # ProblemType OperationType: GEMM DataType: h DataTypeA: F8N DestDataType: h ComputeDataType: s HighPrecisionAccumulate: True TransposeA: 1 TransposeB: 1 UseBeta: True Batched: True - # BenchmarkProblemSizeGroup - Standard - All problem InitialSolutionParameters: BenchmarkCommonParameters: - KernelLanguage: ["Assembly"] ForkParameters: - MatrixInstruction: - [16, 16,16, 1, 1, 8, 4, 1, 2 ] # larger than MT128x64 - [16, 16,16, 1, 1, 8, 8, 1, 1 ] - [16, 16,16, 1, 1, 4, 7, 2, 1 ] - [16, 16,16, 1, 1, 3, 7, 2, 1 ] - [16, 16,16, 1, 1, 7, 7, 1, 1 ] - [16, 16,16, 1, 1, 5, 5, 1, 1 ] - [16, 16,16, 1, 1, 4, 5, 2, 1 ] - [16, 16,16, 1, 1, 4, 5, 1, 2 ] - [16, 16,16, 1, 1, 5, 4, 1, 2 ] - [16, 16,16, 1, 1, 3, 9, 2, 1 ] - [16, 16,16, 1, 1, 4, 8, 2, 1 ] - WorkGroup: - [4,4,2] - GlobalReadVectorWidthA: [-1] - GlobalReadVectorWidthB: [-1] - LocalReadVectorWidth: [-1] - PrefetchGlobalRead: [2] - PrefetchLocalRead: [1] - ClusterLocalRead: [1] - NumElementsPerBatchStore: [0] - DepthU: [32,64] - VectorWidthA: [-1] - VectorWidthB: [-1] - MIArchVgpr: [0] - LocalWritePerMfma: [-1] - StaggerU: [0] - StaggerUStride: [-1] - StaggerUMapping: [2] - WorkGroupMapping: [1] - LocalReadVectorWidth: [8] - ScheduleIterAlg: [3] - ExpandPointerSwap: [0] - TransposeLDS: [1] - LdsBlockSizePerPadA: [-1] - LdsBlockSizePerPadB: [-1] - StorePriorityOpt: [0] - VectorStore: [-1] - StoreSyncOpt: [0] - LdsPadA: [-1] - LdsPadB: [-1] - 1LDSBuffer: [1] - GlobalSplitU: [1] - SourceSwap: [0, 1] BenchmarkJoinParameters: BenchmarkFinalParameters: - ProblemSizes: - Exact: [1, 127, 1, 127] - Exact: [2, 127, 1, 127] - Exact: [3, 127, 1, 127] - Exact: [1, 1, 1, 127] - Exact: [127, 1, 1, 127] - Exact: [127, 2, 1, 127] - Exact: [127, 3, 1, 127] - Exact: [127, 127, 1, 127] - Exact: [128, 128, 1, 128] - Exact: [129, 129, 1, 129] - Exact: [127, 127, 1, 128] - Exact: [127, 127, 1, 129] - Exact: [127, 128, 1, 640] - Exact: [129, 128, 1, 640] - Exact: [512, 512, 1, 640]