Skip to content
Snippets Groups Projects
Commit 610f4f0f authored by fireice-uk's avatar fireice-uk Committed by GitHub
Browse files

Merge pull request #58 from psychocrypt/fix-cuda9SuffleWarning

fix CUDA 9 shuffle warning
parents da6ff1b9 18ba3343
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,11 @@ __forceinline__ __device__ uint32_t shuffle(volatile uint32_t* ptr,const uint32_
#else
unusedVar( ptr );
unusedVar( sub );
return __shfl( val, src, 4 );
# if(__CUDACC_VER_MAJOR__ >= 9)
return __shfl_sync(0xFFFFFFFF, val, src, 4 );
# else
return __shfl( val, src, 4 );
# endif
#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