aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_dump
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-07-05 01:04:19 +0200
committerAndrzej Janik <[email protected]>2021-07-05 01:04:19 +0200
commit1897d339166e4bdb7ecb43b6a42f04de45d75efc (patch)
treec21fbba93a03cb27353aa3dc243db28639e9d4cc /zluda_dump
parent5b593ec1854aa366a9b3bd103fdc9585b9f6d6df (diff)
downloadZLUDA-1897d339166e4bdb7ecb43b6a42f04de45d75efc.tar.gz
ZLUDA-1897d339166e4bdb7ecb43b6a42f04de45d75efc.zip
Fix typo
Diffstat (limited to 'zluda_dump')
-rw-r--r--zluda_dump/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda_dump/src/lib.rs b/zluda_dump/src/lib.rs
index 6b671cb..1d49187 100644
--- a/zluda_dump/src/lib.rs
+++ b/zluda_dump/src/lib.rs
@@ -126,7 +126,7 @@ pub unsafe fn init_libcuda_handle() {
}
if let Ok(kernel_max_str) = env::var("ZLUDA_DUMP_MAX_INDEX") {
match kernel_max_str.parse::<usize>() {
- Ok(kernel_max_value) => KERNEL_INDEX_MINIMUM = kernel_max_value,
+ Ok(kernel_max_value) => KERNEL_INDEX_MAXIMUM = kernel_max_value,
Err(err) => {
os_log!("Error parsing ZLUDA_DUMP_MAX_INDEX: {}", err);
}