From c59e0e788d6823d967bf2d7c72c872b763173f17 Mon Sep 17 00:00:00 2001 From: Yeastplume Date: Thu, 1 Feb 2018 17:29:35 +0000 Subject: [PATCH] update mean cuda miner to latest trompcode (#677) * update mean cuda miner to latest trompcode, and added tweakable parameters to grin configuration file --- grin.toml | 30 +++++++++++++++++++++--------- pow/Cargo.toml | 2 +- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/grin.toml b/grin.toml index 3a338234..e48d90d5 100644 --- a/grin.toml +++ b/grin.toml @@ -161,7 +161,7 @@ burn_reward = false #[[mining.cuckoo_miner_plugin_config]] #type_filter = "mean_cpu" #[mining.cuckoo_miner_plugin_config.device_parameters.0] -#NUM_THREADS = 8 +#NUM_THREADS = 1 #As above, but for older processors [[mining.cuckoo_miner_plugin_config]] @@ -194,13 +194,25 @@ NUM_THREADS = 1 #[[mining.cuckoo_miner_plugin_config]] #type_filter = "cuda" #[mining.cuckoo_miner_plugin_config.device_parameters.0] -#NUM_BLOCKS = 64 -#THREADS_PER_BLOCK = 32 +#USE_DEVICE = 1 + +# Below are advanced optional per-device tweakable params + +#GENU_BLOCKS = 256 +#GENU_TPB = 8 +#GENV_STAGE1_TPB = 32 +#GENV_STAGE2_TPB = 128 +#TRIM_STAGE1_TPB = 32 +#TRIM_STAGE2_TPB = 96 +#RENAME_0_STAGE1_TPB = 32 +#RENAME_0_STAGE2_TPB = 64 +#RENAME_1_STAGE1_TPB = 32 +#RENAME_1_STAGE2_TPB = 128 +#TRIM_3_TPB = 64 +#RENAME_3_TPB = 2 + #[mining.cuckoo_miner_plugin_config.device_parameters.1] -#USE_DEVICE=1 -#NUM_BLOCKS = 64 -#THREADS_PER_BLOCK = 32 +#USE_DEVICE = 1 + #[mining.cuckoo_miner_plugin_config.device_parameters.2] -#USE_DEVICE=1 -#NUM_BLOCKS = 64 -#THREADS_PER_BLOCK = 32 +#USE_DEVICE = 1 diff --git a/pow/Cargo.toml b/pow/Cargo.toml index 6b9797c9..459072cc 100644 --- a/pow/Cargo.toml +++ b/pow/Cargo.toml @@ -18,7 +18,7 @@ grin_util = { path = "../util" } [dependencies.cuckoo_miner] git = "https://github.com/mimblewimble/cuckoo-miner" -tag = "grin_integration_18" +tag = "grin_integration_19" #path = "../../cuckoo-miner" #uncomment this feature to turn off plugin builds #features=["no-plugin-build"]