Skip to content

Fixed the swap operator for the double data type in Atomic memory ope…#88

Open
maruitao wants to merge 1 commit into
NVIDIA:develfrom
maruitao:fix_double_swap_amo
Open

Fixed the swap operator for the double data type in Atomic memory ope…#88
maruitao wants to merge 1 commit into
NVIDIA:develfrom
maruitao:fix_double_swap_amo

Conversation

@maruitao
Copy link
Copy Markdown

For the swap operator on double types in AMO operations, a bitwise cast (bitcast) should be used instead of a numeric cast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant