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: 6d5781bb14]
Цей коміт міститься в:
Nathan O
2020-04-03 12:00:31 -04:00
зафіксовано Sean Keely
джерело ccd4e85fc9
коміт cb264557f5
+3 -4
Переглянути файл
@@ -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