small parameter changes in cuda mining
Signed-off-by: RubenCGomes <rlcg@ua.pt>
This commit is contained in:
parent
2a178133a6
commit
6e71b65b6d
|
|
@ -67,7 +67,7 @@ static void mine_coins_cuda(u64_t max_attempts, double max_time)
|
|||
|
||||
// Kernel configuration
|
||||
cd.block_dim_x = RECOMMENDED_CUDA_BLOCK_SIZE;
|
||||
cd.grid_dim_x = 4096; // Large grid for maximum GPU utilization
|
||||
cd.grid_dim_x = 400; // Large grid for maximum GPU utilization
|
||||
|
||||
u32_t n_threads = cd.grid_dim_x * cd.block_dim_x;
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ static void mine_coins_cuda(u64_t max_attempts, double max_time)
|
|||
printf("Press Ctrl+C to stop\n\n");
|
||||
|
||||
u64_t base_nonce = 0;
|
||||
u32_t attempts_per_thread = 1024 * 8; // Increased attempts per thread
|
||||
u32_t attempts_per_thread = 1024 * 16; // Increased attempts per thread
|
||||
|
||||
double start_time = get_wall_time();
|
||||
time_measurement();
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
//
|
||||
// we place this here to simplify things (aad_sha1_cuda_kernel.cu includes this file...)
|
||||
//
|
||||
#define RECOMMENDED_CUDA_BLOCK_SIZE 128
|
||||
#define RECOMMENDED_CUDA_BLOCK_SIZE 256
|
||||
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue