[Openmp-commits] [openmp] 96f6873 - [OpenMP][NFC] Drop unused headers from amdgpu plugin

Jon Chesterfield via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 25 04:09:23 PDT 2021


Author: Jon Chesterfield
Date: 2021-06-25T12:08:56+01:00
New Revision: 96f6873dff6e7087d56293c9ec3a2983d241a889

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

LOG: [OpenMP][NFC] Drop unused headers from amdgpu plugin

Added: 
    

Modified: 
    openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp b/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
index 012bd1f9b7010..a8252f2cb4b00 100644
--- a/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
+++ b/openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
@@ -15,9 +15,7 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
-#include <dlfcn.h>
 #include <elf.h>
-#include <ffi.h>
 #include <fstream>
 #include <iostream>
 #include <libelf.h>
@@ -2141,4 +2139,4 @@ hsa_status_t allow_access_to_all_gpu_agents(void *ptr) {
                                      &DeviceInfo.HSAAgents[0], NULL, ptr);
 }
 
-} // namespace core
\ No newline at end of file
+} // namespace core


        


More information about the Openmp-commits mailing list