-
Notifications
You must be signed in to change notification settings - Fork 74
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
atomic Unit tests for Dec and Inc not check edge cases #1769
Labels
Comments
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Aug 3, 2022
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling `atomic*()` and `atomicOp<*>()`
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Aug 3, 2022
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling `atomic*()` and `atomicOp<*>()`
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Aug 3, 2022
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling `atomic*()` and `atomicOp<*>()`
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Aug 3, 2022
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling `atomic*()` and `atomicOp<*>()`
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Aug 3, 2022
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling `atomic*()` and `atomicOp<*>()`
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Aug 4, 2022
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling the atomic interface `atomic*()` and `atomicOp<*>()`
psychocoderHPC
added a commit
to psychocoderHPC/alpaka
that referenced
this issue
Jan 22, 2024
fix alpaka-group#1769 - test all hierarchies which can be used for atomics - extent test cases to test for equal, smaller, larger and zero as left side operand - test calling the atomic interface `atomic*()` and `atomicOp<*>()`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The unit test for
atomicDec
is not testing the flip around based on the values.alpaka/include/alpaka/atomic/Op.hpp
Line 131 in 0b96515
Some for
atomicInc
alpaka/include/alpaka/atomic/Op.hpp
Line 115 in 0b96515
We simply test if an value is incremented or decremented:
alpaka/test/unit/atomic/src/AtomicTest.cpp
Lines 143 to 185 in 0b96515
The text was updated successfully, but these errors were encountered: