SWDEV-366445 - Add arrayIndex limitation in the API hipGraphicsSubResourceGetMappedArray (#3259)

Change-Id: I02445773383076a80ceab90f02cb4ffff227a5dd

[ROCm/hip commit: d579c4d3ca]
This commit is contained in:
ROCm CI Service Account
2023-06-21 21:07:28 +05:30
committed by GitHub
vanhempi 8262763c3a
commit 04e2b6ea7c
@@ -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
*
*/