Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

hdk_cas fixes for CUDA and Windows #375

Merged
merged 2 commits into from
Apr 11, 2023
Merged

hdk_cas fixes for CUDA and Windows #375

merged 2 commits into from
Apr 11, 2023

Conversation

ienkovich
Copy link
Contributor

Currently, CUDA version of hdk_cas misses the comparison of the result and therefore always succeeds when the target memory holds a non-zero value.

For Windows, hdk_cas has a different signature (takes a pointer instead of a value as the second arg) which I also fixed but didn't test it anyhow.

Signed-off-by: ienkovich <[email protected]>
Signed-off-by: ienkovich <[email protected]>
@ienkovich ienkovich merged commit 06a34d9 into main Apr 11, 2023
@ienkovich ienkovich deleted the ienkovich/join-cuda-fix branch April 11, 2023 22:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants