Open SamirDroubi opened 2 months ago
Is this really safe? IIUC there's some code (like syr) that actually aliases the call to Exo kernels. Also, did you see any speedup from changing this?
Is this really safe? IIUC there's some code (like syr) that actually aliases the call to Exo kernels. Also, did you see any speedup from changing this?
It is safe from the Exo semantics since we enforce no-aliasing. In syr, we are cheating by doing that. However, in that particular example, i don't see how it can cause any issues since the two buffers that alias are ready-only. In any case, the correctness tests pass and we plan to fix the syr code anyways at some point.
And yes you do get a speedup.
What was the reason we needed aliasing for syr
again? Is it so that you can perform stage_mem
correctly on only one of the vectors without impacting the other?
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files
```diff @@ Coverage Diff @@ ## main #645 +/- ## ======================================= Coverage 86.99% 86.99% ======================================= Files 94 94 Lines 22022 22022 ======================================= Hits 19159 19159 Misses 2863 2863 ```:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.