From cb264557f54c949ac642c325f2b0c4b5215dd694 Mon Sep 17 00:00:00 2001 From: Nathan O Date: Fri, 3 Apr 2020 12:00:31 -0400 Subject: [PATCH] Fix hsa_amd_agents_allow_access documentation - Update the documentation comment in hsa_ext_amd.h, which contained contradictory and incorrect information about an argument to the hsa_amd_agents_allow_access function. Change-Id: I60b0dbbdc761078cd81906bc2c63a27d7e6b53e1 [ROCm/ROCR-Runtime commit: 6d5781bb1474a389a3ad287f4797e6162b224657] --- .../rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h index 66c984df1d..ff00177a9a 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h @@ -1177,8 +1177,7 @@ hsa_status_t HSA_API hsa_amd_agent_memory_pool_get_info( * ignored. * * @param[in] flags A list of bit-field that is used to specify access - * information in a per-agent basis. The size of this list must match that of @p - * agents. Must be NULL. + * information in a per-agent basis. This is currently reserved and must be NULL. * * @param[in] ptr A buffer previously allocated using ::hsa_amd_memory_pool_allocate. * @@ -1188,8 +1187,8 @@ hsa_status_t HSA_API hsa_amd_agent_memory_pool_get_info( * initialized. * * @retval ::HSA_STATUS_ERROR_INVALID_ARGUMENT @p num_agents is 0, or @p agents - * is NULL, @p flags is NULL, or attempting to enable access to agent(s) because - * @p ptr is allocated from an inaccessible pool. + * is NULL, @p flags is not NULL, or attempting to enable access to agent(s) + * because @p ptr is allocated from an inaccessible pool. * */ hsa_status_t HSA_API