SWDEV-361374 - Adding support for hipPointerSetAttributes (#3125)

Change-Id: I9d654185902e1a53338cbdaf7bbb6c1ebc4b043c


[ROCm/hip commit: 73086b0c84]
Tá an tiomantas seo le fáil i:
ROCm CI Service Account údaraithe agus GitHub tiomanta 2023-01-05 17:59:29 -08:00
1 tuismitheoir 4e764f61c4
tiomantas 3c1fb77683
1 comhad athraithe
+17
+17
Féach ar an gComhad
@@ -2546,6 +2546,23 @@ hipError_t hipEventQuery(hipEvent_t event);
*
*
*/
/**
* @brief Sets information on the specified pointer.[BETA]
*
* @param [in] value sets pointer attribute value
* @param [in] atribute attribute to set
* @param [in] ptr pointer to set attributes for
*
* @return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue
*
* @beta This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*
*/
hipError_t hipPointerSetAttribute(const void* value, hipPointer_attribute attribute,
hipDeviceptr_t ptr);
/**
* @brief Return attributes for the specified pointer
*