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
sci-libs/rocBLAS: various fixes #23450
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
58e819f
sci-libs/rocBLAS: let TensileCreateLibrary respects MAKEOPTS
littlewu2508 307e678
sci-libs/rocBLAS: remove unused cmake variable
littlewu2508 35008de
sci-libs/rocBLAS: fix tests using openblas as cpu reference
littlewu2508 80a8f4a
sci-libs/rocBLAS: fix LICENSE
littlewu2508 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch
This file contains 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,22 @@ | ||
Those tests will fail comparing rocblas vs openblas, because the testing program is so strict that it cannot tolerate the numerical differences which is actually OK. | ||
|
||
https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1202 | ||
--- orig/clients/gtest/known_bugs.yaml | ||
+++ rocBLAS-rocm-4.3.0/clients/gtest/known_bugs.yaml | ||
@@ -7,6 +7,16 @@ Known bugs: | ||
- { function: gemm_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx1010,gfx1011,gfx1012,gfx1030" } | ||
- { function: gemm_batched_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx90a,gfx1010,gfx1011,gfx1012,gfx1030" } | ||
- { function: gemm_strided_batched_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx1010,gfx1011,gfx1012,gfx1030" } | ||
+# gemv openblas reference differences due to summation order dependent roundoff accumulation with large M float complex | ||
+# 8th significant digit difference vs CPU on single precision float math, leads to expected equality test failure | ||
+# code needs to be changed to a tolerance test or reduce M for float complex type if using equality vs. CPU reference | ||
+- { function: gemv, a_type: f32_c, transA: T, M: 131071 } | ||
+- { function: gemv, a_type: f32_c, transA: C, M: 131071 } | ||
+- { function: gemv_batched, a_type: f32_c, transA: T, M: 131071 } | ||
+- { function: gemv_batched, a_type: f32_c, transA: C, M: 131071 } | ||
+- { function: gemv_strided_batched, a_type: f32_c, transA: T, M: 131071 } | ||
+- { function: gemv_strided_batched, a_type: f32_c, transA: C, M: 131071 } | ||
+ | ||
|
||
#- { function: gemm_ex, a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, d_type: bf16_r, compute_type: f32_r, transA: C, transB: N, M: 512, N: 512, K: 512, lda: 512, ldb: 512, ldc: 512, ldd: 512, alpha: 5.0, alphai: 0.0, beta: 0.0, betai: 0.0, known_bug_platforms: gfx908 } | ||
#- { function: gemm_ex, a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, d_type: bf16_r, compute_type: f32_r, transA: C, transB: N, M: 512, N: 512, K: 512, lda: 512, ldb: 512, ldc: 512, ldd: 512, alpha: 0.0, alphai: 0.0, beta: 3.0, betai: 0.0, known_bug_platforms: gfx908 } |
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depend on a newer CMake version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only cmake-3.21.1 and cmake-3.21.2 need this, version below this or higher than this don't need or recognize this flag, and will throw a warning (like https://bugs.gentoo.org/829326 described). The two version does not exists in portage tree now.