Disable virtual memory management (#515)
Some checks are pending
ZLUDA / Build (Linux) (push) Waiting to run
ZLUDA / Build (Windows) (push) Waiting to run
ZLUDA / Build AMD GPU unit tests (push) Waiting to run
ZLUDA / Run AMD GPU unit tests (push) Blocked by required conditions

We don't currently support it, so report it as unsupported.
This commit is contained in:
Violet 2025-09-18 19:11:30 -07:00 committed by GitHub
commit 62ec652e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,6 +254,10 @@ pub(crate) fn get_attribute(
CUdevice_attribute::CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS => {
return get_device_prop(pi, dev_idx, |props| props.unifiedFunctionPointers)
}
CUdevice_attribute::CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED => {
*pi = 0;
return Ok(());
}
_ => {}
}
let attrib = remap_attribute! {