Skip to content

Commit 661f431

Browse files
Fix profile more general cmd (#420)
1 parent 6cf701e commit 661f431

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

xtask/src/commands/profile.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ pub(crate) enum ProfileSubCommand {
1616
pub(crate) struct BenchOptionsArgs {
1717
#[arg(long)]
1818
pub bench: String,
19-
#[arg(long, default_value = "/usr/local/cuda/bin/ncu")]
19+
#[arg(long, default_value = "ncu")]
2020
pub ncu_path: String,
21-
#[arg(long, default_value = "/usr/local/cuda/bin/ncu-ui")]
21+
#[arg(long, default_value = "ncu-ui")]
2222
pub ncu_ui_path: String,
2323
}
2424

@@ -84,8 +84,6 @@ impl Profile {
8484
&[
8585
"BENCH_NUM_SAMPLES=1",
8686
&options.ncu_path,
87-
"--config-file",
88-
"off",
8987
"--nvtx",
9088
"--set=full",
9189
"--call-stack",

0 commit comments

Comments
 (0)