feat(src): add Run subcommand tolaunch applications on discrete GPU
- New Features - Introduce `Run` command with trailing var argument support for executing commands on the discrete GPU (requires Hybrid Mode) - Enhancements - Update CLI parsing to accept a vector of command strings - Bug Fixes - None
This commit is contained in:
1 file changed
+6
@@ -110,6 +110,12 @@ pub enum GpuCommands {
|
||||
CacheDelete,
|
||||
/// Show cache created by lapctl
|
||||
CacheQuery,
|
||||
/// Run an application on the discrete GPU (Requires Hybrid Mode)
|
||||
Run {
|
||||
/// The command and arguments to execute
|
||||
#[arg(trailing_var_arg = true, allow_hyphen_values = true)]
|
||||
command: Vec<String>,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Subcommand, Debug)]
|
||||
|
||||
Reference in new issue
Block a user