-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing non-volatile atomic overloads. (#1582)
* Update codegen to output non-volatile atomic backends * Switch atomic interface decorator to `_LIBCUDACXX_HOST_DEVICE` * Add tests and fixes for volatile/non-volatile atomic CAS overloads. * Add atomic codegen tests. * Currently only enabled if FileCheck is found. * Add a preset maybe to enable building this specifically? * TODO: Maybe generate the tests. * Create non-volatile overloads for all base atomic functions. * Add `_LIBCUDACXX_FALLTHROUGH` to every atomic backend switch. * Make atomic_ref APIs non-volatile * Delete tests for volatile atomic_ref
- Loading branch information
Showing
17 changed files
with
3,913 additions
and
690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.