[Openmp-commits] [openmp] 70ff191 - [Libomptarget] Add new enum to the dynamically opened HSA implementation
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Thu Feb 2 13:15:26 PST 2023
Author: Joseph Huber
Date: 2023-02-02T15:15:09-06:00
New Revision: 70ff191900a0ba17ca2d8d403fc860d3ea7b9af2
URL: https://github.com/llvm/llvm-project/commit/70ff191900a0ba17ca2d8d403fc860d3ea7b9af2
DIFF: https://github.com/llvm/llvm-project/commit/70ff191900a0ba17ca2d8d403fc860d3ea7b9af2.diff
LOG: [Libomptarget] Add new enum to the dynamically opened HSA implementation
Summary:
We added a new agent information enum in a previous commit. This was not
added to the dynamic HSA implementation so it failed to compile without
a local HSA install to use.
Added:
Modified:
openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.h
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.h b/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.h
index b57590820a55d..573a2ef8fc200 100644
--- a/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.h
+++ b/openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.h
@@ -74,6 +74,7 @@ typedef enum {
HSA_AGENT_INFO_QUEUES_MAX = 12,
HSA_AGENT_INFO_QUEUE_MIN_SIZE = 13,
HSA_AGENT_INFO_QUEUE_MAX_SIZE = 14,
+ HSA_AGENT_INFO_NODE = 16,
HSA_AGENT_INFO_DEVICE = 17,
HSA_AGENT_INFO_CACHE_SIZE = 18,
HSA_AGENT_INFO_FAST_F16_OPERATION = 24,
More information about the Openmp-commits
mailing list