Add HSA_CU_MASK

New environment variable HSA_CU_MASK allows users to
specify a cu mask to every queue allocated from any
GPU.  hsa_amd_queue_cu_set_mask is restricted from
escaping this mask.

A new API hsa_amd_queue_cu_get_mask is added to query
the current cu mask.

Change-Id: I846c03a5faaca9b95067c31db84b59cc9fce2f03


[ROCm/ROCR-Runtime commit: 4455250be1]
This commit is contained in:
Sean Keely
2021-06-29 18:03:05 -05:00
parent c7606d1dfc
commit 4c6ea88cf5
19 changed files with 430 additions and 30 deletions
@@ -179,6 +179,7 @@ global:
hsa_amd_async_function;
hsa_amd_image_get_info_max_dim;
hsa_amd_queue_cu_set_mask;
hsa_amd_queue_cu_get_mask;
hsa_amd_memory_fill;
hsa_amd_memory_async_copy;
hsa_amd_memory_async_copy_rect;