-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix atomic performance regressions by avoiding use of memcpy with nat…
…ively supported atomic types. (#1801) * Add atomic derived overloads that capture non-scalar types and converts them to u32/64. * Update codegen to use native types for .cas and .exch. * Use `_CCCL_TRAIT` for SFINAE. * Fix _CCCL_TRAIT usage * Maybe safe everything * [pre-commit.ci] auto code formatting * Improve codegen tests for atomic. * Switch to PTX. * Tightly check all output. * Remove casts of atomic pointers used in PTX. * [pre-commit.ci] auto code formatting --------- Co-authored-by: Michael Schellenberger Costa <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
998e020
commit e734d68
Showing
11 changed files
with
2,129 additions
and
1,717 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
Oops, something went wrong.