We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 042ba96 commit 269a2a0Copy full SHA for 269a2a0
openmp/libomptarget/src/PluginManager.cpp
@@ -22,17 +22,7 @@ using namespace llvm::sys;
22
PluginManager *PM;
23
24
// List of all plugins that can support offloading.
25
-static const char *RTLNames[] = {
26
-#ifdef ENABLED_OFFLOAD_PLUGINS
27
- ENABLED_OFFLOAD_PLUGINS
28
-#else
29
- /* PowerPC target */ "libomptarget.rtl.ppc64",
30
- /* x86_64 target */ "libomptarget.rtl.x86_64",
31
- /* CUDA target */ "libomptarget.rtl.cuda",
32
- /* AArch64 target */ "libomptarget.rtl.aarch64",
33
- /* AMDGPU target */ "libomptarget.rtl.amdgpu",
34
-#endif
35
-};
+static const char *RTLNames[] = {ENABLED_OFFLOAD_PLUGINS};
36
37
PluginAdaptorTy::PluginAdaptorTy(const std::string &Name) : Name(Name) {
38
DP("Attempting to load library '%s'...\n", Name.c_str());
0 commit comments