We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Support int64 wp.atomic_add operations.
Test script:
import warp as wp @wp.kernel(enable_backward=False) def increase_kernel( arr: wp.array(dtype=wp.int64), ): i = wp.tid() wp.atomic_add(arr, i, wp.int64(1)) arr = wp.array((1, 2, 3), dtype=wp.int64) wp.launch(increase_kernel, dim=arr.shape, inputs=(arr,)) print(arr)
The text was updated successfully, but these errors were encountered:
daedalus5
No branches or pull requests
Description
Support int64 wp.atomic_add operations.
Test script:
The text was updated successfully, but these errors were encountered: