Skip to content

Commit

Permalink
Merge pull request fireice-uk#2003 from psychocrypt/fix-cudaWrongNumb…
Browse files Browse the repository at this point in the history
…erOfThreads

NVIDIA: fix wrong number of threads
  • Loading branch information
fireice-uk authored Oct 25, 2018
2 parents ded00ab + 6b6e0c7 commit defaffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmrstak/backend/nvidia/nvcc_code/cuda_core.cu
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ void cryptonight_core_gpu_hash(nvid_ctx* ctx, uint32_t nonce)
{
dim3 grid( ctx->device_blocks );
dim3 block( ctx->device_threads );
dim3 block2( ctx->device_threads << 2 );
dim3 block2( ctx->device_threads << 1 );
dim3 block4( ctx->device_threads << 2 );
dim3 block8( ctx->device_threads << 3 );

Expand Down

0 comments on commit defaffa

Please sign in to comment.