SWDEV-356559 - update the note on hipIpcOpenMemHandle showing the different from CUDA (#2988)
Change-Id: I4116eaa3a8f31283dda7d7c0c680acdb954036b9
[ROCm/hip commit: acf9688165]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5203830518
Коммит
354c91dcfb
@@ -1707,8 +1707,9 @@ hipError_t hipIpcGetMemHandle(hipIpcMemHandle_t* handle, void* devPtr);
|
||||
* hipErrorInvalidHandle,
|
||||
* hipErrorTooManyPeers
|
||||
*
|
||||
* @note No guarantees are made about the address returned in @p *devPtr.
|
||||
* In particular, multiple processes may not receive the same address for the same @p handle.
|
||||
* @note During multiple processes, using the same memory handle opened by the current context,
|
||||
* there is no guarantee that the same device poiter will be returned in @p *devPtr.
|
||||
* This is diffrent from CUDA.
|
||||
*
|
||||
*/
|
||||
hipError_t hipIpcOpenMemHandle(void** devPtr, hipIpcMemHandle_t handle, unsigned int flags);
|
||||
|
||||
Ссылка в новой задаче
Block a user