-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Vulkan] Add overflow detection on vulkan when debug=True #6279
[Vulkan] Add overflow detection on vulkan when debug=True #6279
Conversation
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
efd92f8
to
09db5a4
Compare
ee55caf
to
972d6f2
Compare
for more information, see https://pre-commit.ci
713c3b4
to
0518b78
Compare
6d16d55
to
a2404be
Compare
for more information, see https://pre-commit.ci
e5f4f7b
to
c8551cd
Compare
ba5c052
to
6f5dc9b
Compare
for more information, see https://pre-commit.ci
9c06042
to
8ee9427
Compare
068e6a2
to
e8ce27b
Compare
for more information, see https://pre-commit.ci
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.
Nice!
OOC: in the future is it possible to lift these to CHI IR level to save us from implementing it per backend? ;)
It's possible but I'm afraid we can't use the backend-specific instructions if we lift these to CHI IR level... |
Don't merge yet. I've spotted a bug on smul |
for more information, see https://pre-commit.ci
Issue: #5932
Brief Summary
Added overflow detection of addition, subtraction, multiplication and shift left operators on Vulkan.
Known bug: 64-bit multiplication overflow detection works on NVIDIA driver 510 with Vulkan version 1.3.194 but does not work on NVIDIA driver 470 with Vulkan version 1.2.175. See #6303
TODO: Support for OpenGL should be automatically available when the print support of OpenGL is available. Add OpenGL to the test at that time.