From 14804c6dec438ded9772463d20851ee2ca027d16 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Tue, 30 Aug 2022 21:21:21 +0530 Subject: [PATCH] SWDEV-340007 - Added a note on hipCreateTextureObject API (#2899) Change-Id: I577563b098de71440554497ff1d160e411a0c5bf --- include/hip/hip_runtime_api.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 55b430aada..86bef4c273 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -2391,9 +2391,9 @@ hipError_t hipEventElapsedTime(float* ms, hipEvent_t start, hipEvent_t stop); * @returns #hipSuccess, #hipErrorNotReady, #hipErrorInvalidHandle, #hipErrorInvalidValue, * #hipErrorNotInitialized, #hipErrorLaunchFailure * - * Query the status of the specified event. This function will return #hipErrorNotReady if all + * Query the status of the specified event. This function will return #hipSuccess if all * commands in the appropriate stream (specified to hipEventRecord()) have completed. If that work - * has not completed, or if hipEventRecord() was not called on the event, then #hipSuccess is + * has not completed, or if hipEventRecord() was not called on the event, then #hipErrorNotReady is * returned. * * @see hipEventCreate, hipEventCreateWithFlags, hipEventRecord, hipEventDestroy, @@ -4957,7 +4957,10 @@ hipError_t hipBindTextureToMipmappedArray( * @param [in] pTexDesc pointer to texture descriptor * @param [in] pResViewDesc pointer to resource view descriptor * - * @returns hipSuccess, hipErrorInvalidValue + * @returns hipSuccess, hipErrorInvalidValue, hipErrorNotSupported, hipErrorOutOfMemory + * + * @note 3D liner filter isn't supported on GFX90A boards, on which the API @p hipCreateTextureObject will + * return hipErrorNotSupported. * */ hipError_t hipCreateTextureObject(