[Openmp-commits] [openmp] 53d7fd3 - [libomptarget][amdgcn] Remove lookup of .language msgpack field
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Wed Feb 17 15:03:12 PST 2021
Author: Jon Chesterfield
Date: 2021-02-17T23:02:16Z
New Revision: 53d7fd37627a919e4471795a6f4709725053948a
URL: https://github.com/llvm/llvm-project/commit/53d7fd37627a919e4471795a6f4709725053948a
DIFF: https://github.com/llvm/llvm-project/commit/53d7fd37627a919e4471795a6f4709725053948a.diff
LOG: [libomptarget][amdgcn] Remove lookup of .language msgpack field
Added:
Modified:
openmp/libomptarget/plugins/amdgpu/impl/system.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/amdgpu/impl/system.cpp b/openmp/libomptarget/plugins/amdgpu/impl/system.cpp
index 1a126a186ff2..da152b4045d1 100644
--- a/openmp/libomptarget/plugins/amdgpu/impl/system.cpp
+++ b/openmp/libomptarget/plugins/amdgpu/impl/system.cpp
@@ -822,7 +822,6 @@ static hsa_status_t get_code_object_custom_metadata(void *binary,
for (size_t i = 0; i < kernelsSize; i++) {
assert(msgpack_errors == 0);
std::string kernelName;
- std::string languageName;
std::string symbolName;
msgpack::byte_range element;
@@ -830,7 +829,6 @@ static hsa_status_t get_code_object_custom_metadata(void *binary,
msgpackErrorCheck(element lookup in kernel metadata, msgpack_errors);
msgpack_errors += map_lookup_string(element, ".name", &kernelName);
- msgpack_errors += map_lookup_string(element, ".language", &languageName);
msgpack_errors += map_lookup_string(element, ".symbol", &symbolName);
msgpackErrorCheck(strings lookup in kernel metadata, msgpack_errors);
More information about the Openmp-commits
mailing list