Skip to content

Commit bf361d0

Browse files
committed
Fixed cli error
1 parent e041aac commit bf361d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/cuda/src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub struct CudaOpt {
5050
)]
5151
pub cuda_no_blocking_sync: bool,
5252
#[clap(
53-
long = "nonce-gen",
53+
long = "cuda-nonce-gen",
5454
help = "The random method used to generate nonces. Options: (i) xoshiro - each thread in GPU will have its own random state, creating a (pseudo-)independent xoshiro sequence (ii) lean - each GPU will have a single random nonce, and each GPU thread will work on nonce + thread id.",
5555
default_value = "lean"
5656
)]

plugins/opencl/src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub struct OpenCLOpt {
4444
)]
4545
pub experimental_amd: bool,
4646
#[clap(
47-
long = "nonce-gen",
47+
long = "opencl-nonce-gen",
4848
help = "The random method used to generate nonces. Options: (i) xoshiro (ii) lean",
4949
long_help = "The random method used to generate nonces. Options: (i) xoshiro - each thread in GPU will have its own random state, creating a (pseudo-)independent xoshiro sequence (ii) lean - each GPU will have a single random nonce, and each GPU thread will work on nonce + thread id.",
5050
default_value = "lean"

0 commit comments

Comments
 (0)