cuda - fix grad3d flat templates for gen#1992
Conversation
81967d1 to
8bba9fb
Compare
|
Does HIP also need this fix? |
|
oddly no, I did that one correctly |
|
huh, fair enough. Did you make sure it isn't still falling back? or should I check |
|
I didn't double check |
|
Seems to compile okay now. I'm now getting: |
|
Yea, I'm not surprised. Flattening should only work for really low order |
|
Sounds good. Also, is there a reason we fall back straight to ref? In this case, fallback to shared would be faster |
|
Honestly, probably an oversight |
|
Oh, you know what I bet it is? Actually, should be using shared bases, just ref operator evaluation |
|
Isn't that what the shared operator application does anyhow? |
|
Yea. There is no 'shared operator' so I directly fell back to the compatible backend that implements the target functionality so it was clear (to me) where that operator application/assembly logic actually came from |
|
Gotcha. We should switch the fallback to shared then? |
|
I personally wouldn't because it is the operator implementation that is falling back and ref is what provides that fallback operator implementation, but I don't feel strongly |
|
Hmm, will it still use the shared bases with the ref operator fallback? |
|
yes it will |
zatkins-dev
left a comment
There was a problem hiding this comment.
Okay, I think this is good! I'm going to have a follow up fixing block sizes for the non tensor gen, we can make it work for more cases
Purpose:
Fix my oops. That was totally copypasta
Closes: #1991
LLM/GenAI Disclosure:
None, pure human stupidity here
By submitting this PR, the author certifies to its contents as described by the Developer's Certificate of Origin.
Please follow the Contributing Guidelines for all PRs.