Browse Source

tpb

cl-refactor
Genoil 9 years ago
parent
commit
351343d365
  1. 6
      libethash-cuda/ethash_cuda_miner_kernel.cu

6
libethash-cuda/ethash_cuda_miner_kernel.cu

@ -12,12 +12,16 @@
#if __CUDA_ARCH__ < SHUFFLE_MIN_VER #if __CUDA_ARCH__ < SHUFFLE_MIN_VER
#include "dagger_shared.cuh" #include "dagger_shared.cuh"
#define TPB 128
#define BPSM 4
#else #else
#include "dagger_shuffled.cuh" #include "dagger_shuffled.cuh"
#define TPB 896
#define BPSM 1
#endif #endif
__global__ void __global__ void
__launch_bounds__(896, 1) __launch_bounds__(TPB, BPSM)
ethash_search( ethash_search(
volatile uint32_t* g_output, volatile uint32_t* g_output,
uint64_t start_nonce uint64_t start_nonce

Loading…
Cancel
Save