"vscode:/vscode.git/clone" did not exist on "76780eef10fe72a8aadfda0950d699684da28e99"
Unverified Commit 2a0dbe01 authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #2229 from peastman/shfl

Eliminated use of a deprecated shuffle function
parents 813772e8 245ca208
......@@ -16,7 +16,7 @@ typedef struct {
__device__ int reduceMax(int val) {
#if __CUDA_ARCH__ >= 700
for (int mask = 16; mask > 0; mask /= 2)
val = max(val, __shfl_xor(val, mask));
val = max(val, __shfl_xor_sync(0xffffffff, val, mask));
#endif
return val;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment