Skip to content

Commit

Permalink
fix: build error set cmd default string value
Browse files Browse the repository at this point in the history
Signed-off-by: anandaravuri <ananda.ravuri@intel.com>
  • Loading branch information
anandaravuri committed Oct 12, 2023
1 parent f38fe87 commit 6e7e43c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/cxl_mem_tg/cxl_mem_tg.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,17 @@ class cxl_mem_tg : public test_afu {

// Loops
app_.add_option("--loops", loop_, "Number of read/write loops to be run")
->transform(CLI::Range(1, 268435456))->default_val(1);
->transform(CLI::Range(1, 268435456))->default_val("1");

// Writes
app_.add_option("-w,--writes", wcnt_,
"Number of unique write transactions per loop")
->transform(CLI::Range(0, 4095))->default_val(0);
->transform(CLI::Range(0, 4095))->default_val("1");

// Reads
app_.add_option("-r,--reads", rcnt_,
"Number of unique read transactions per loop")
->transform(CLI::Range(0, 4095))->default_val(1);
->transform(CLI::Range(0, 4095))->default_val("1");

// Address Stride
app_.add_option("--stride", stride_,
Expand Down

0 comments on commit 6e7e43c

Please sign in to comment.