Skip to content

Commit

Permalink
Add missing --device to simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
haorldbchi committed Oct 13, 2023
1 parent e9836f8 commit e7734ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/CmdSimulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void CmdSimulateMain( GlobalPlotConfig& gCfg, CliParser& cli )
else if( cli.ReadSize( cfg.farmSize, "-s", "--size" ) ) continue;
else if( cli.ReadHexStrAsBytes( cfg.randomSeed, sizeof( cfg.randomSeed ), "--seed" ) ) continue;
else if( cli.ReadSwitch( cfg.noCuda, "--no-cuda" ) ) continue;
else if( cli.ReadI32( cfg.cudaDevice, "-d", "--device" ) ) continue;
else
break;
}
Expand Down

0 comments on commit e7734ea

Please sign in to comment.