mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-09-21 08:49:04 +00:00
Disable virtual memory management (#515)
We don't currently support it, so report it as unsupported.
This commit is contained in:
parent
b5f41c7cd0
commit
62ec652e7c
1 changed files with 4 additions and 0 deletions
|
@ -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! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue