Skip to content

Commit

Permalink
SWDEV-436744 - Moved hipDeviceAttributeHostRegisterSupported in end a…
Browse files Browse the repository at this point in the history
…s having inbetween breaks compatibility with blender (No GPU Detected issue).

Change-Id: I3f83a2813d917448bddae2a9cb2ba67d8b8ce0b0
  • Loading branch information
jaydeeppatel1111 authored and gargrahul committed Dec 8, 2023
1 parent a3e0410 commit f7c33a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,

Expand Down

0 comments on commit f7c33a4

Please sign in to comment.