From e7734ea1fe4ebe652dfa0965c2d27e8d832547fa Mon Sep 17 00:00:00 2001 From: Harold Brenes Date: Thu, 12 Oct 2023 22:18:19 -0400 Subject: [PATCH] Add missing `--device` to simulator --- src/commands/CmdSimulator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/CmdSimulator.cpp b/src/commands/CmdSimulator.cpp index e1c48251..e29089bd 100644 --- a/src/commands/CmdSimulator.cpp +++ b/src/commands/CmdSimulator.cpp @@ -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; }