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

Merge pull request #221 from psychocrypt/fix-cudaLaunchBounds

fix CUDA launch bounds usage
parents 6261ec73 43812b36
No related branches found
No related tags found
No related merge requests found
......@@ -167,10 +167,10 @@ __forceinline__ __device__ uint32_t shuffle(volatile uint32_t* ptr,const uint32_
#endif
}
template<size_t ITERATIONS, uint32_t THREAD_SHIFT, uint32_t MASK>
#ifdef XMR_STAK_THREADS
__launch_bounds__( XMR_STAK_THREADS * 4 )
#endif
template<size_t ITERATIONS, uint32_t THREAD_SHIFT, uint32_t MASK>
__global__ void cryptonight_core_gpu_phase2( int threads, int bfactor, int partidx, uint32_t * d_long_state, uint32_t * d_ctx_a, uint32_t * d_ctx_b )
{
__shared__ uint32_t sharedMemory[1024];
......
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