Skip to content
Snippets Groups Projects
Unverified Commit 187ddb0c authored by fireice-uk's avatar fireice-uk Committed by GitHub
Browse files

Merge pull request #1569 from psychocrypt/fix-cuda9VoltaShuffle

fix possible deadlock with Volta
parents 5cb44638 4a4a2f85
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ __forceinline__ __device__ uint32_t shuffle(volatile uint32_t* ptr,const uint32_
unusedVar( ptr );
unusedVar( sub );
# if(__CUDACC_VER_MAJOR__ >= 9)
return __shfl_sync(0xFFFFFFFF, val, src, group_n );
return __shfl_sync(__activemask(), val, src, group_n );
# else
return __shfl( val, src, group_n );
# endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment