rocr: Update async-scratch reclaim API doc

This commit is contained in:
David Yat Sin
2025-05-26 20:33:06 +00:00
committed by Yat Sin, David
parent 11da1293de
commit c3978d03a4
+4
View File
@@ -3526,6 +3526,10 @@ hsa_status_t hsa_amd_vmem_get_alloc_properties_from_handle(
* of additional scratch memory. Decreasing this threshold will result in a release in scratch memory
* on queues where the current amount of allocated scratch exceeds the new limit.
*
* If this API call would result in a release in scratch memory and there are dispatches that are
* currently using scratch memory on this agent, this will result into a blocking call until the
* current dispatches are completed.
*
* This API is only supported on devices that support asynchronous scratch reclaim.
*
* @param[in] agent A valid agent.