[Openmp-commits] [openmp] ec39b35 - [Libomptarget] Add missing HSA agent info enumeration

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 4 19:56:25 PDT 2023


Author: Joseph Huber
Date: 2023-07-04T21:55:49-05:00
New Revision: ec39b3517877632de4189a50bf9639b7cd5e4bfe

URL: https://github.com/llvm/llvm-project/commit/ec39b3517877632de4189a50bf9639b7cd5e4bfe
DIFF: https://github.com/llvm/llvm-project/commit/ec39b3517877632de4189a50bf9639b7cd5e4bfe.diff

LOG: [Libomptarget] Add missing HSA agent info enumeration

Summary:
This was not added to dynamic_hsa.h

Added: 
    

Modified: 
    openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa_ext_amd.h

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa_ext_amd.h b/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa_ext_amd.h
index b67e065f77f1b7..8ae99b2d6d6700 100644
--- a/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa_ext_amd.h
+++ b/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa_ext_amd.h
@@ -61,6 +61,7 @@ typedef enum hsa_amd_agent_info_s {
   HSA_AMD_AGENT_INFO_MAX_WAVES_PER_CU = 0xA00A,
   HSA_AMD_AGENT_INFO_NUM_SIMDS_PER_CU = 0xA00B,
   HSA_AMD_AGENT_INFO_COOPERATIVE_QUEUES = 0xA010
+  HSA_AMD_AGENT_INFO_TIMESTAMP_FREQUENCY = 0xA016,
 } hsa_amd_agent_info_t;
 
 hsa_status_t hsa_amd_memory_pool_get_info(hsa_amd_memory_pool_t memory_pool,


        


More information about the Openmp-commits mailing list