Skip to content

Commit

Permalink
Single Stage Seeding and gpu cycle finding in cuckatoo mean cuda (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
tromp authored and yeastplume committed Oct 23, 2019
1 parent 8014bb1 commit 10afbc1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
4 changes: 2 additions & 2 deletions cuckoo-miner/src/cuckoo_sys/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ set (AT_MEAN_CUDA_SRC

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 "-DNRB1=26 -DNEPS_A=135 -DNEPS_B=88 -DPART_BITS=1 -DEDGEBITS=31")
build_cuda_target("${AT_MEAN_CUDA_SRC}" cuckatoo_mean_cuda_rtx_31 "-DNRB1=26 -DNEPS_A=133 -DNEPS_B=85 -DPART_BITS=0 -DEDGEBITS=31")
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")
endif()

##################################################################################
Expand Down
34 changes: 8 additions & 26 deletions grin-miner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,11 @@ nthreads = 4
#plugin_name = "cuckatoo_mean_cuda_gtx_31"
#[mining.miner_plugin_config.parameters]
#device = 0
#expand = 3
#cpuload = 1
#ntrims = 176
#genablocks = 4096
#genatpb = 128
#genbtpb = 128
#trimtpb = 512
#tailtpb = 1024
#recoverblocks = 1024
#recovertpb = 1024
#ntrims = 31
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256

#mean cuda optimised to use slightly less memory,
#will work on a 2080TI with expand rounds set to 2
Expand All @@ -174,32 +169,19 @@ nthreads = 4
#plugin_name = "cuckatoo_mean_cuda_rtx_31"
#[mining.miner_plugin_config.parameters]
#device = 0
#expand = 3
#cpuload = 1
#ntrims = 176
#genablocks = 4096
#genatpb = 128
#genbtpb = 128
#trimtpb = 512
#tailtpb = 1024
#recoverblocks = 1024
#recovertpb = 1024
#ntrims = 31
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256

#lean cuda
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_lean_cuda_31"
#[mining.miner_plugin_config.parameters]
#expand = 0
#device = 0
#cpuload = 1
#ntrims = 176
#genablocks = 4096
#genatpb = 128
#genbtpb = 128
#trimtpb = 512
#tailtpb = 1024
#recoverblocks = 1024
#recovertpb = 1024

# lean OpenCL supports both NVidia and AMD
# very slow but requires ~ 3GB of RAM
Expand Down

0 comments on commit 10afbc1

Please sign in to comment.