Fix the behavior of extent(r) for r > rank in TeamGEMM#2667
Fix the behavior of extent(r) for r > rank in TeamGEMM#2667yasahi-hpc wants to merge 3 commits intokokkos:developfrom
Conversation
b49ade1 to
3ee86a4
Compare
cwpearson
left a comment
There was a problem hiding this comment.
I don't know the precedence of || and ternary offhand, could you please insert parens (even if not technically necessary)
cwpearson
left a comment
There was a problem hiding this comment.
I'd rather see this conditional nesting inverted with a constexpr check on the rank, but I won't block on it.
lucbv
left a comment
There was a problem hiding this comment.
Can we add a small unit-test that exhibit the current issue and shows that the proposed PR fixes it?
Sure |
If this is related, it means that there is a GEMM operation on rank 0 view. |
|
I'm building the Ifpack2 tests to check the impact of this PR, thanks for tracking this down @yasahi-hpc |
|
Unfortunately I still see the failures in |
3ee86a4 to
285d5ef
Compare
Thanks a lot for testing and reporting. |
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
Signed-off-by: Yuuichi Asahi <[email protected]>
285d5ef to
9f1b00a
Compare
|
Hi @yasahi-hpc , I retested with 9f1b00a in a Cuda build but I am still seeing failures with the |
Thank you for testing. I will investigate on my side. |
|
Yes, I think we can, sorry we took a while to make the final decision on how to move forward. |
May partially resolve #2622
After looking at the bahaviors of older versions, I found that
extent(r)for r > rank should return1This PR fixes the behavior.