aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda/src
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2024-02-16 00:01:21 +0100
committerGitHub <[email protected]>2024-02-16 00:01:21 +0100
commit4a81dbffb5ce37be0f999476ce69c444d9ec77c8 (patch)
treeebe9bd7d4d008d50c2d9cb1a21cba48b9908ec83 /zluda/src
parent9f7be97ef667c8d2faa4dc3d49c585d3ac2cb25c (diff)
downloadZLUDA-4a81dbffb5ce37be0f999476ce69c444d9ec77c8.tar.gz
ZLUDA-4a81dbffb5ce37be0f999476ce69c444d9ec77c8.zip
Update llama.cpp support (#102)
Add sign extension support to prmt, allow set.<op>.f16x2.f16x2, add more BLAS mappings
Diffstat (limited to 'zluda/src')
-rw-r--r--zluda/src/impl/device.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/zluda/src/impl/device.rs b/zluda/src/impl/device.rs
index 4a97b3b..59201e2 100644
--- a/zluda/src/impl/device.rs
+++ b/zluda/src/impl/device.rs
@@ -162,7 +162,9 @@ pub(crate) unsafe fn get_attribute(
| CUdevice_attribute::CU_DEVICE_ATTRIBUTE_DEFERRED_MAPPING_CUDA_ARRAY_SUPPORTED
| CUdevice_attribute::CU_DEVICE_ATTRIBUTE_IPC_EVENT_SUPPORTED
| CUdevice_attribute::CU_DEVICE_ATTRIBUTE_CLUSTER_LAUNCH
- | CUdevice_attribute::CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS => {
+ | CUdevice_attribute::CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS
+ // Possibly true, used by llama.cpp
+ | CUdevice_attribute::CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED => {
*pi = 0;
return Ok(());
}