From d4f6a6672e04ea236cf0200bbba83352474d79df Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Tue, 24 Sep 2024 12:00:50 -0400 Subject: [PATCH] SWDEV-485943 - Adding note for some semophore related HIP APIs NOT supported on Linux. Change-Id: I6fb57d5014cdd6e1f8eb56ca5326b460a76033de --- include/hip/hip_runtime_api.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index f62b5d389a..10158e06d4 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -3261,6 +3261,9 @@ hipError_t hipDrvPointerGetAttributes(unsigned int numAttributes, hipPointer_att * @returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue * * @see + * + * @note This API is currently not supported on Linux. + * */ hipError_t hipImportExternalSemaphore(hipExternalSemaphore_t* extSem_out, const hipExternalSemaphoreHandleDesc* semHandleDesc); @@ -3275,6 +3278,9 @@ hipError_t hipImportExternalSemaphore(hipExternalSemaphore_t* extSem_out, * @returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue * * @see + * + * @note This API is currently not supported on Linux. + * */ hipError_t hipSignalExternalSemaphoresAsync(const hipExternalSemaphore_t* extSemArray, const hipExternalSemaphoreSignalParams* paramsArray, @@ -3290,6 +3296,9 @@ hipError_t hipSignalExternalSemaphoresAsync(const hipExternalSemaphore_t* extSem * @returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue * * @see + * + * @note This API is currently not supported on Linux. + * */ hipError_t hipWaitExternalSemaphoresAsync(const hipExternalSemaphore_t* extSemArray, const hipExternalSemaphoreWaitParams* paramsArray, @@ -3302,6 +3311,9 @@ hipError_t hipWaitExternalSemaphoresAsync(const hipExternalSemaphore_t* extSemAr * @returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue * * @see + * + * @note This API is currently not supported on Linux. + * */ hipError_t hipDestroyExternalSemaphore(hipExternalSemaphore_t extSem); @@ -3314,6 +3326,7 @@ hipError_t hipDestroyExternalSemaphore(hipExternalSemaphore_t extSem); * @returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue * * @see +* */ hipError_t hipImportExternalMemory(hipExternalMemory_t* extMem_out, const hipExternalMemoryHandleDesc* memHandleDesc); /**