Fix description of HSA_AMD_MEMORY_POOL_INFO_ACCESSIBLE_BY_ALL.
Description was inconsistent with itself and code. Existing behavior returns HSA_AMD_MEMORY_POOL_INFO_ACCESSIBLE_BY_ALL == true for system memory pools only and system memory pools do require hsa_amd_agents_allow_access. Change-Id: I64b287bff9fdb21688aa169296e410edf1b209b5
This commit is contained in:
@@ -714,9 +714,9 @@ typedef enum {
|
||||
HSA_AMD_MEMORY_POOL_INFO_RUNTIME_ALLOC_ALIGNMENT = 7,
|
||||
/**
|
||||
* This memory_pool can be made directly accessible by all the agents in the
|
||||
* system (::hsa_amd_agent_memory_pool_get_info returns
|
||||
* ::HSA_AMD_MEMORY_POOL_ACCESS_ALLOWED_BY_DEFAULT for all agents). The type of
|
||||
* this attribute is bool.
|
||||
* system (::hsa_amd_agent_memory_pool_get_info does not return
|
||||
* ::HSA_AMD_MEMORY_POOL_ACCESS_NEVER_ALLOWED for any agent). The type of this
|
||||
* attribute is bool.
|
||||
*/
|
||||
HSA_AMD_MEMORY_POOL_INFO_ACCESSIBLE_BY_ALL = 15,
|
||||
} hsa_amd_memory_pool_info_t;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user