SWDEV-361374 - Adding support for hipPointerSetAttributes (#3125)
Change-Id: I9d654185902e1a53338cbdaf7bbb6c1ebc4b043c
[ROCm/hip commit: 73086b0c84]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4e764f61c4
Коммит
3c1fb77683
@@ -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
|
||||
*
|
||||
|
||||
Ссылка в новой задаче
Block a user