mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-09-27 03:39:10 +00:00
Advertise CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED and CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED as unsupported
This commit is contained in:
parent
00d7cd131b
commit
cf54edb122
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ pub(crate) fn get_attribute(
|
||||||
*pi = 32;
|
*pi = 32;
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
CUdevice_attribute::CU_DEVICE_ATTRIBUTE_TCC_DRIVER => {
|
CUdevice_attribute::CU_DEVICE_ATTRIBUTE_TCC_DRIVER
|
||||||
|
| CUdevice_attribute::CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED
|
||||||
|
| CUdevice_attribute::CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED => {
|
||||||
*pi = 0;
|
*pi = 0;
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue