From a44c6287196c8ea798c4cddaa84c7498d45bedc2 Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Fri, 24 Nov 2023 15:25:44 +0000 Subject: [PATCH] SWDEV-429009 - Moved hipDeviceAttributeHostRegisterSupported in end as having inbetween breaks compatibility with blender (No GPU Detected issue). Change-Id: I3f83a2813d917448bddae2a9cb2ba67d8b8ce0b0 [ROCm/hip commit: 6cb746858d501377c30084e01f7447e77410beaf] --- projects/hip/include/hip/hip_runtime_api.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index ab9a168caa..da3c5a52b0 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/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,