Skip to content

Commit

Permalink
support CUDA C32 mining (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
tromp authored and yeastplume committed Jan 14, 2020
1 parent 2584abd commit 28f3953
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cuckoo-miner/src/cuckoo_sys/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ set (AT_MEAN_CUDA_SRC
${BLAKE_2B} )

if (NOT SKIP_CUCKATOO_GPU)
build_cuda_target("${AT_MEAN_CUDA_SRC}" cuckatoo_mean_cuda_19 "-DNEPS_A=512 -DNEPS_B=384 -DIDXSHIFT=6 -DEDGEBITS=19")
build_cuda_target("${AT_MEAN_CUDA_SRC}" cuckatoo_mean_cuda_gtx_31 "-DNEPS_A=135 -DNEPS_B=88 -DPART_BITS=1 -DFLUSHA=2 -DEDGEBITS=31")
build_cuda_target("${AT_MEAN_CUDA_SRC}" cuckatoo_mean_cuda_rtx_31 "-DNEPS_A=135 -DNEPS_B=88 -DPART_BITS=0 -DEDGEBITS=31")
build_cuda_target("${AT_MEAN_CUDA_SRC}" cuckatoo_mean_cuda_rtx_32 "-DNEPS_A=135 -DNEPS_B=88 -DPART_BITS=1 -DEDGEBITS=32")
endif()

##################################################################################
Expand Down
13 changes: 13 additions & 0 deletions grin-miner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,19 @@ nthreads = 4
#recoverblocks = 2048
#recovertpb = 256

#the C32 reference miner requires 20GB of memory
#runs on the RTX Titan with 24GB

#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_mean_cuda_rtx_32"
#[mining.miner_plugin_config.parameters]
#device = 0
#cpuload = 1
#ntrims = 31
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256

#lean cuda
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_lean_cuda_31"
Expand Down

0 comments on commit 28f3953

Please sign in to comment.