[Openmp-commits] [openmp] ba192de - [Libomptarget][Obvious] Fix typo in attribute lookup
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Wed Dec 20 17:03:42 PST 2023
Author: Joseph Huber
Date: 2023-12-20T19:03:35-06:00
New Revision: ba192debb409a0ad513772eed289099321e531df
URL: https://github.com/llvm/llvm-project/commit/ba192debb409a0ad513772eed289099321e531df
DIFF: https://github.com/llvm/llvm-project/commit/ba192debb409a0ad513772eed289099321e531df.diff
LOG: [Libomptarget][Obvious] Fix typo in attribute lookup
Summary:
These are keys into the AMDGPU target metadata. One of them had a typo
which prevented it from being extracted.
Added:
Modified:
openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h b/openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
index 1cb99c0a5dca39..2471590c27b376 100644
--- a/openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
+++ b/openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
@@ -202,7 +202,7 @@ class KernelInfoReader {
KernelData.VGPRSpillCount = V.second.getUInt();
} else if (IsKey(V.first, ".private_segment_fixed_size")) {
KernelData.PrivateSegmentSize = V.second.getUInt();
- } else if (IsKey(V.first, ".group_segement_fixed_size")) {
+ } else if (IsKey(V.first, ".group_segment_fixed_size")) {
KernelData.GroupSegmentList = V.second.getUInt();
} else if (IsKey(V.first, ".reqd_workgroup_size")) {
GetSequenceOfThreeInts(V.second, KernelData.RequestedWorkgroupSize);
More information about the Openmp-commits
mailing list