diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 33a05e51a4..a1f3822366 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -7655,9 +7655,11 @@ hipError_t hipGraphicsMapResources(int count, hipGraphicsResource_t* resources, * @param [in] resource - Mapped resource to access. * @param [in] arrayIndex - Array index for the subresource to access. * @param [in] mipLevel - Mipmap level for the subresource to access. - * + * * @returns #hipSuccess, #hipErrorInvalidValue * + * @note In this API, the value of arrayIndex higher than zero is currently not supported. + * */ hipError_t hipGraphicsSubResourceGetMappedArray(hipArray_t* array, hipGraphicsResource_t resource, unsigned int arrayIndex, unsigned int mipLevel); @@ -7667,7 +7669,7 @@ hipError_t hipGraphicsSubResourceGetMappedArray(hipArray_t* array, hipGraphicsRe * @param [out] devPtr - Pointer of device through which graphic resource may be accessed. * @param [out] size - Size of the buffer accessible from devPtr. * @param [in] resource - Mapped resource to access. - * + * * @returns #hipSuccess, #hipErrorInvalidValue * */