-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add Support for cast instruction in hip wmma intrinsic compiler #317
Add Support for cast instruction in hip wmma intrinsic compiler #317
Conversation
fd9cb95
to
46daf54
Compare
Converting to draft, I want to fix other things that are not quite right in the intrinsic compiler. |
FragmentIdent::A | FragmentIdent::B => write!(f, "half16"), | ||
FragmentIdent::Accumulator => write!(f, "float8"), | ||
FragmentIdent::Accumulator => match fragment.elem { |
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.
Can we use bfloat16
in the instruction?
@@ -139,13 +169,15 @@ for (uint i = 0; i < uint(8); ++i) {{ | |||
} else { | |||
panic!("{frag_a} is not a WMMA fragment!") | |||
}; | |||
let cd_format = if let Variable::WmmaFragment { frag: inner_c, .. } = frag_c { | |||
if let Variable::WmmaFragment { frag: inner_d, .. } = frag_d { | |||
let (cd_format, opsel) = if let Variable::WmmaFragment { frag: mut inner_c, .. } = frag_c { |
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.
What is opsel
?
@@ -38,6 +38,7 @@ where | |||
|
|||
if A::check_availability::<R>(&client).is_err() { | |||
// Can't execute the test. | |||
println!("Skipped - not supported!"); |
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.
For tests?
6a857d4
to
d3862f9
Compare
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.
Nice docs
No description provided.