diff options
author | Andrzej Janik <[email protected]> | 2021-12-06 23:54:47 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-12-06 23:54:47 +0100 |
commit | dd915688bdee6cd3f9d1496a0639e280f488a570 (patch) | |
tree | b45cd50ec9bf46399a5bc6b7563e6c5fe432f8f0 /zluda_dump/src/trace.rs | |
parent | 2c6d7ffb7a68514dbfa97095516681d843802012 (diff) | |
download | ZLUDA-dd915688bdee6cd3f9d1496a0639e280f488a570.tar.gz ZLUDA-dd915688bdee6cd3f9d1496a0639e280f488a570.zip |
Dump function names and allow overriding result of cuDeviceComputeCapability
Diffstat (limited to 'zluda_dump/src/trace.rs')
-rw-r--r-- | zluda_dump/src/trace.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zluda_dump/src/trace.rs b/zluda_dump/src/trace.rs index f93c360..3bdf807 100644 --- a/zluda_dump/src/trace.rs +++ b/zluda_dump/src/trace.rs @@ -21,6 +21,7 @@ pub(crate) struct StateTracker { submodule_counter: usize,
last_module_version: Option<usize>,
pub(crate) dark_api: dark_api::DarkApiState,
+ pub(crate) override_cc_major: Option<u32>,
}
impl StateTracker {
@@ -32,6 +33,7 @@ impl StateTracker { submodule_counter: 0,
last_module_version: None,
dark_api: dark_api::DarkApiState::new(),
+ override_cc_major: settings.override_cc_major,
}
}
|