Repository navigation
Support <F8,B,S>, <F8B8,B,S> with BiasB for type TN #522
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
4 commits
Select commit
Hold shift + click to select a range
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
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
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
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 |
|---|---|---|
|
|
@@ -72,6 +72,12 @@ Real precisions 1 bytes: &real_precisions_1b | |
| { a_type: bf8_r, b_type: f8_r, c_type: f16_r, d_type: f16_r, compute_type: c_f32_r, scale_type: f32_r} | ||
| - &f8bf8_precision_dst_fp16 | ||
| { a_type: f8_r, b_type: bf8_r, c_type: f16_r, d_type: f16_r, compute_type: c_f32_r, scale_type: f32_r} | ||
| - &f8_precision_dst_bf16 | ||
| { a_type: f8_r, b_type: f8_r, c_type: bf16_r, d_type: bf16_r, compute_type: c_f32_r, scale_type: f32_r} | ||
| - &f8bf8_precision_dst_bf16 | ||
| { a_type: f8_r, b_type: bf8_r, c_type: bf16_r, d_type: bf16_r, compute_type: c_f32_r, scale_type: f32_r} | ||
| - &bf8f8_precision_dst_bf16 | ||
| { a_type: bf8_r, b_type: f8_r, c_type: bf16_r, d_type: bf16_r, compute_type: c_f32_r, scale_type: f32_r} | ||
| - &f8_precision_dst_f8 | ||
| { a_type: f8_r, b_type: f8_r, c_type: f8_r, d_type: f8_r, compute_type: c_f32_r, scale_type: f32_r} | ||
|
|
||
|
|
@@ -85,6 +91,11 @@ Real precisions 1 bytes dst fp16: &real_precisions_1b_dst_f16 | |
| - *bf8f8_precision_dst_fp16 | ||
| - *f8bf8_precision_dst_fp16 | ||
|
|
||
| Real precisions 1 bytes dst bf16: &real_precisions_1b_dst_bf16 | ||
| - *f8_precision_dst_bf16 | ||
| - *f8bf8_precision_dst_bf16 | ||
| # - *bf8f8_precision_dst_bf16 # TODO | ||
|
|
||
| Real precisions 1 bytes dst fp8: &real_precisions_1b_dst_f8 | ||
|
Comment on lines
93
to
99
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the third one is not included in this pr but we are gonna support it later. so this is just a placeholder |
||
| - *f8_precision_dst_f8 | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,7 +114,7 @@ typedef enum { | |
| typedef enum { | ||
| HIPBLASLT_COMPUTE_F32 = 300, /**<32-bit floating-point precision.*/ | ||
| HIPBLASLT_COMPUTE_F32_FAST_XF32 = 301, /**< XF32 compute for 32-bit input and output matrices */ | ||
| HIPBLASLT_COMPUTE_F64 = 302, /**<32-bit floating-point precision.*/ | ||
| HIPBLASLT_COMPUTE_F64 = 302, /**<64-bit floating-point precision.*/ | ||
| HIPBLASLT_COMPUTE_I32 = 303, | ||
|
Comment on lines
116
to
118
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A typo ? |
||
| HIPBLASLT_COMPUTE_F32_FAST_F16 = 304, /**< F16 compute for 16-bit input and 32-bit output matrices */ | ||
| } hipblasLtComputeType_t; | ||
|
|
@@ -916,9 +916,9 @@ hipblasStatus_t hipblasLtMatrixTransformDescGetAttribute( | |
| size_t sizeInBytes, | ||
| size_t* sizeWritten); | ||
|
|
||
| /*! \ingroup library_module | ||
| /*! \ingroup library_module | ||
| * \brief Matrix layout conversion helper | ||
| * \details | ||
| * \details | ||
| * Matrix layout conversion helper (C = alpha * op(A) + beta * op(B)), | ||
| * can be used to change memory order of data or to scale and shift the values. | ||
| * @param[in] lightHandle Pointer to the allocated hipBLASLt handle for the | ||
|
|
||
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.
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.
-O0 can get more detailed info when debugging