[Libomptarget][remote] Add OpenMP linker flag to the pluginThe remote offloading server and plugin rely on OpenMP, so this needs to be added as a linker flag. Without this, applications segfault.
[Libomptarget][remote] Add OpenMP linker flag to the pluginThe remote offloading server and plugin rely on OpenMP, so this needs to be added as a linker flag. Without this, applications segfault.Differential Revision: https://reviews.llvm.org/D124200
show more ...
[Libomptarget][remote] Fix compile-time errorThis fixes a compile-time error recently introduced within the remoteoffloading plugin. This patch also removes some extra linker flags that are unnece
[Libomptarget][remote] Fix compile-time errorThis fixes a compile-time error recently introduced within the remoteoffloading plugin. This patch also removes some extra linker flags that are unnecessary, and adds an explicit abseil linker flag without which we occasionally get problems.Differential Revision: https://reviews.llvm.org/D119984
[libomptarget] Drop remote plugin cmake version requirement to match llvmLLVM docs at https://llvm.org/docs/CMake.html#quick-start state 3.13.4Reviewed By: atmnpatelDifferential Revision: https
[libomptarget] Drop remote plugin cmake version requirement to match llvmLLVM docs at https://llvm.org/docs/CMake.html#quick-start state 3.13.4Reviewed By: atmnpatelDifferential Revision: https://reviews.llvm.org/D113271
[Libomptarget] Experimental Remote Plugin FixesD97883 introduced a compile-time error in the experimental remote offloadinglibomptarget plugin, this patch fixes it and resolves a number ofinconsi
[Libomptarget] Experimental Remote Plugin FixesD97883 introduced a compile-time error in the experimental remote offloadinglibomptarget plugin, this patch fixes it and resolves a number ofinconsistencies in the plugin as well:1. Non-functional Asynchronous API2. Unnecessarily verbose debug printing3. Misc. code clean upsThis is not intended to make any functional changes to the plugin.Differential Revision: https://reviews.llvm.org/D105325
[OpenMP] Replace global InfoLevel with a reference to an internal one.Summary:This patch improves the implementation of D100774 by replacing the globalvariable introduced with a function that ret
[OpenMP] Replace global InfoLevel with a reference to an internal one.Summary:This patch improves the implementation of D100774 by replacing the globalvariable introduced with a function that returns a reference to an internalone. This removes the need to define the variable in every plugin that uses it.Reviewed By: JonChesterfieldDifferential Revision: https://reviews.llvm.org/D101102
[OpenMP] Add function for setting LIBOMPTARGET_INFO at runtimeSummary:This patch adds a new runtime function __tgt_set_info_flag that allows theuser to set the information level at runtime withou
[OpenMP] Add function for setting LIBOMPTARGET_INFO at runtimeSummary:This patch adds a new runtime function __tgt_set_info_flag that allows theuser to set the information level at runtime without using the environmentvariable. Using this will require an extern function, but will eventually beadded into an auxilliary library for OpenMP support functions.This patch required moving the current InfoLevel to a global variable which mustbe instantiated by each plugin.Reviewed By: jdoerfertDifferential Revision: https://reviews.llvm.org/D100774
[libomptarget] Add allocator support for target memoryThis patch adds the infrastructure for allocator support for target memory.Three allocators are introduced for device, host and shared memory.
[libomptarget] Add allocator support for target memoryThis patch adds the infrastructure for allocator support for target memory.Three allocators are introduced for device, host and shared memory.The corresponding API functions have the llvm_ prefix temporarily, until they become part of the OpenMP standard.Differential Revision: https://reviews.llvm.org/D97883
[OpenMP][NFC] Use `AsyncInfo` as the variable name for a `__tgt_async_info`Reviewed By: grokos, tianshilei1992Differential Revision: https://reviews.llvm.org/D96444
[libomptarget][NFC] Link plugins with threads support library due to std::call_once usage.Differential Revision: https://reviews.llvm.org/D95572
[OpenMP][Libomptarget] Introduce Remote Offloading PluginThis introduces a remote offloading plugin for libomptarget. Thisimplementation relies on gRPC and protobuf, so this library will onlybuil
[OpenMP][Libomptarget] Introduce Remote Offloading PluginThis introduces a remote offloading plugin for libomptarget. Thisimplementation relies on gRPC and protobuf, so this library will onlybuild if both libraries are available on the system. The correspondingserver is compiled to `openmp-offloading-server`.This is a large change, but the only way to split this up is into RTL/serverbut I fear that could introduce an inconsistency amongst them.Ideally, tests for this should be added to the current ones that but that isproblematic for at least one reason. Given that libomptarget registers pluginon a first-come-first-serve basis, if we wanted to offload onto a local x86through a different process, then we'd have to either re-order the plugin listin `rtl.cpp` (which is what I did locally for testing) or find a bettersolution for runtime plugin registration in libomptarget.Differential Revision: https://reviews.llvm.org/D95314