SWDEV-508961, SWDEV-509855 - Update hipDeviceAttributePciDomainID and requestedHandleType

Change-Id: Ia223b8e8c6ea3f7d345fc0b2c373199cec3efee6


[ROCm/hip commit: 0031ab056f]
This commit is contained in:
Julia Jiang
2025-02-06 15:30:05 -05:00
committed by Julia Jiang
parent 34ff076505
commit d5e2a56ee7
+6 -2
View File
@@ -484,7 +484,8 @@ typedef enum hipDeviceAttribute_t {
hipDeviceAttributePageableMemoryAccessUsesHostPageTables, ///< Device accesses pageable memory via the host's page tables
hipDeviceAttributePciBusId, ///< PCI Bus ID.
hipDeviceAttributePciDeviceId, ///< PCI Device ID.
hipDeviceAttributePciDomainID, ///< PCI Domain ID.
hipDeviceAttributePciDomainId, ///< PCI Domain Id.
hipDeviceAttributePciDomainID = hipDeviceAttributePciDomainId, ///< PCI Domain ID, for backward compatibility.
hipDeviceAttributePersistingL2CacheMaxSize, ///< Maximum l2 persisting lines capacity in bytes
hipDeviceAttributeMaxRegistersPerBlock, ///< 32-bit registers available to a thread block. This number is shared
///< by all thread blocks simultaneously resident on a multiprocessor.
@@ -1574,7 +1575,10 @@ typedef struct hipGraphInstantiateParams {
*/
typedef struct hipMemAllocationProp {
hipMemAllocationType type; ///< Memory allocation type
hipMemAllocationHandleType requestedHandleType; ///< Requested handle type
union {
hipMemAllocationHandleType requestedHandleType; ///< Requested handle type
hipMemAllocationHandleType requestedHandleTypes; ///< Requested handle types
};
hipMemLocation location; ///< Memory location
void* win32HandleMetaData; ///< Metadata for Win32 handles
struct {