From f7c33a4cbb660011cf9429b8b65d631066cd51d2 Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Fri, 24 Nov 2023 15:25:44 +0000 Subject: [PATCH] SWDEV-436744 - Moved hipDeviceAttributeHostRegisterSupported in end as having inbetween breaks compatibility with blender (No GPU Detected issue). Change-Id: I3f83a2813d917448bddae2a9cb2ba67d8b8ce0b0 --- include/hip/hip_runtime_api.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index e072dc9a24..88e68509bc 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -421,7 +421,6 @@ typedef enum hipDeviceAttribute_t { hipDeviceAttributeConcurrentManagedAccess, ///< Device can coherently access managed memory concurrently with the CPU hipDeviceAttributeCooperativeLaunch, ///< Support cooperative launch hipDeviceAttributeCooperativeMultiDeviceLaunch, ///< Support cooperative launch on multiple devices - hipDeviceAttributeHostRegisterSupported, ///< Can device support host memory registration via hipHostRegister hipDeviceAttributeDeviceOverlap, ///< Device can concurrently copy memory and execute a kernel. ///< Deprecated. Use instead asyncEngineCount. hipDeviceAttributeDirectManagedMemAccessFromHost, ///< Host can directly access managed memory on @@ -505,7 +504,7 @@ typedef enum hipDeviceAttribute_t { hipDeviceAttributeWarpSize, ///< Warp size in threads. hipDeviceAttributeMemoryPoolsSupported, ///< Device supports HIP Stream Ordered Memory Allocator hipDeviceAttributeVirtualMemoryManagementSupported, ///< Device supports HIP virtual memory management - + hipDeviceAttributeHostRegisterSupported, ///< Can device support host memory registration via hipHostRegister hipDeviceAttributeCudaCompatibleEnd = 9999, hipDeviceAttributeAmdSpecificBegin = 10000,