-
Notifications
You must be signed in to change notification settings - Fork 69
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 functions are too verbose #1005
Comments
I would like it. Guess just with The duplication between namespace name and function name is what may also be discussed, but now it is very consistently done in alpaka. |
I also think that a shortcut |
👍 for more Note that we might want this mimic this syntax towards C++20:
Due to the very explicit naming: could we make |
Perhaps we can, and also with many other namespaces of alpaka as lots of classes or functions have the same prefix in their self name as the namespace they are in, |
I suggest if we introduce |
With #1155 the current syntax simplifies to:
|
This simplifies the user side API. See alpaka-group#1005.
This simplifies the user side API. See alpaka-group#1005.
This simplifies the user side API. See alpaka-group#1005.
This simplifies the user side API. See #1005.
This is resolved with #1185. |
While porting mallocMC to alpaka, I replaced a lot of atomic operations in CUDA by the alpaka equivalents. This made the code a lot verboser:
changes to:
What is the reason for not providing a straight forward:
?
The text was updated successfully, but these errors were encountered: