Skip to content
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

Allocating correct amount of Local memory in Global Implementation #128

Merged
merged 7 commits into from
Jan 4, 2024

Conversation

AD2605
Copy link
Contributor

@AD2605 AD2605 commented Jan 3, 2024

In global.hpp, on line 473, it has not been taken into consideration that the local memory for modifiers is, in-fact padded, and only allocates non padded amount of local memory.

After this fix, all tests on the opencl backend passes(at least locally !), and even fixes the issue with sizes 9800 and 68640 on SPIR-V backend

Borrows regression test suite from #127

Checklist

Tick if relevant:

  • [NA] New files have a copyright
  • [NA] New headers have an include guards
  • [NA] API is documented with Doxygen
  • [NA] New functionalities are tested
  • Tests pass locally
  • Files are clang-formatted

hjabird
hjabird previously approved these changes Jan 3, 2024
t4c1
t4c1 previously approved these changes Jan 3, 2024
@AD2605 AD2605 dismissed stale reviews from t4c1 and hjabird via 4e61eb5 January 3, 2024 14:30
t4c1
t4c1 previously approved these changes Jan 4, 2024
@AD2605 AD2605 merged commit b71b680 into main Jan 4, 2024
1 check passed
@AD2605 AD2605 deleted the atharva/oob_access_bug_fix branch January 4, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants