-
Notifications
You must be signed in to change notification settings - Fork 99
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
Improve batched serial gemm #2469
Conversation
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
c701a6c
to
198a7af
Compare
@cwpearson I have removed the global namespace following your suggestions for #2331 |
|
||
eps *= std::is_same<value_type, Kokkos::Experimental::half_t>::value || | ||
std::is_same<value_type, Kokkos::Experimental::bhalf_t>::value | ||
eps *= std::is_same_v<ValueType, Kokkos::Experimental::half_t> || |
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.
This definition of epsilon worries me a bit, we should revisit to actually compute the expected accuracy based on the compute parameters chosen for the test...
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.
I agree with you.
It may be that we need to pay a bit more attention to the value range for fp16 test cases.
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.
The changes look fine to me, let's run this through the auto-tester.
There's |
I personally prefer not to allow |
This PR aims at improving the implementation and testing of serial Gemm.
Impl
namespace.OpID
andOpConj
intoblas/impl/KokkosBlas_util.hpp
Non-Trans/Trans/ConjTrans
Kokkos::View
Non-Trans/Trans/ConjTrans
KokkosBatched
namespace