-
Notifications
You must be signed in to change notification settings - Fork 297
Fix code generation when UseBeta is false #6202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0d6cd23
Fix code generation when UseBeta is false
pdhirajkumarprasad 42ee3a0
Merge branch 'develop' into users/dhirajp/AIHPBLAS-1467
pdhirajkumarprasad 3fbd640
updated based on change
pdhirajkumarprasad 687a265
Merge branch 'develop' into users/dhirajp/AIHPBLAS-1467
pdhirajkumarprasad 65b7a61
addressing all the review
pdhirajkumarprasad 59638b9
addressed NaN and code gen but when UseBeta is false
pdhirajkumarprasad e6827b7
fix the failure on gfx125x branch and other feedback
pdhirajkumarprasad ae8fbf1
Merge branch 'develop' into users/dhirajp/AIHPBLAS-1467
pdhirajkumarprasad 0f4293d
Updated to refer globalWriteElements instead of using compile-tile flag
pdhirajkumarprasad 976d0d9
fixed based on comment
pdhirajkumarprasad 1aad592
remove the NaN related fix in this PR and created separate PR for NaN…
pdhirajkumarprasad 9e4ebd2
Merge branch 'develop' into users/dhirajp/AIHPBLAS-1467
pdhirajkumarprasad 6b2baf9
revert initialization to see what is failing and will handle that sep…
pdhirajkumarprasad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
projects/hipblaslt/tensilelite/Tensile/Tests/common/gemm/use_beta_false.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| # Test for UseBeta=False functionality | ||
| # Verifies that kernels correctly handle the case where beta=0 and tensor C is not used | ||
|
|
||
| GlobalParameters: | ||
| MinimumRequiredVersion: 5.0.0 | ||
| PrintLevel: 1 | ||
| ForceRedoBenchmarkProblems: True | ||
| ForceRedoLibraryLogic: True | ||
| ForceRedoLibraryClient: True | ||
| CMakeBuildType: Release | ||
| EnqueuesPerSync: 1 | ||
| SyncsPerBenchmark: 0 | ||
| NumElementsToValidate: 128 | ||
| Platform: 0 | ||
| Device: 0 | ||
| KernelTime: True | ||
| SleepPercent: 0 | ||
| NumBenchmarks: 1 | ||
| PrintSolutionRejectionReason: True | ||
| LibraryFormat: yaml | ||
| BoundsCheck: True | ||
|
|
||
| BenchmarkProblems: | ||
| ######################################## | ||
| # UseBeta=False with batched GEMM | ||
| ######################################## | ||
| - | ||
| - # ProblemType | ||
| OperationType: GEMM | ||
| DataType: h | ||
| DestDataType: h | ||
| ComputeDataType: s | ||
| HighPrecisionAccumulate: True | ||
| TransposeA: False | ||
| TransposeB: True | ||
| UseBeta: False | ||
| Batched: True | ||
|
|
||
| - # Configuration | ||
| InitialSolutionParameters: | ||
| BenchmarkCommonParameters: | ||
| - KernelLanguage: ["Assembly"] | ||
| ForkParameters: | ||
| - MatrixInstruction: | ||
| - [16, 16, 16, 1, 1, 2, 2, 2, 2] | ||
| - DepthU: [16] | ||
| - VectorWidthA: [2] | ||
| - VectorWidthB: [2] | ||
| - GlobalSplitU: [1] | ||
| BenchmarkForkParameters: | ||
| JoinParameters: | ||
| BenchmarkJoinParameters: | ||
| BenchmarkFinalParameters: | ||
| - ProblemSizes: | ||
| - Exact: [256, 256, 1, 256] | ||
| - Exact: [128, 128, 1, 128] | ||
| - Exact: [137, 129, 1, 64] | ||
|
|
||
| ######################################## | ||
| # UseBeta=False with UseScaleCD and batched GEMM | ||
| ######################################## | ||
| - | ||
| - # ProblemType | ||
| OperationType: GEMM | ||
| DataType: h | ||
| DestDataType: h | ||
| ComputeDataType: s | ||
| HighPrecisionAccumulate: True | ||
| TransposeA: False | ||
| TransposeB: True | ||
| UseBeta: False | ||
| Batched: True | ||
| UseScaleCD: True | ||
|
|
||
| - # Configuration | ||
| InitialSolutionParameters: | ||
| BenchmarkCommonParameters: | ||
| - KernelLanguage: ["Assembly"] | ||
| ForkParameters: | ||
| - MatrixInstruction: | ||
| - [16, 16, 16, 1, 1, 2, 2, 2, 2] | ||
| - DepthU: [16] | ||
| - VectorWidthA: [2] | ||
| - VectorWidthB: [2] | ||
| - GlobalSplitU: [1] | ||
| BenchmarkForkParameters: | ||
| JoinParameters: | ||
| BenchmarkJoinParameters: | ||
| BenchmarkFinalParameters: | ||
| - ProblemSizes: | ||
| - Exact: [256, 256, 1, 256] | ||
| - Exact: [128, 128, 1, 128] | ||
| - Exact: [137, 129, 1, 64] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.