diff options
Diffstat (limited to 'zluda_dump/src/lib.rs')
-rw-r--r-- | zluda_dump/src/lib.rs | 2 |
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); } |