[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
show more ...
[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
[libomptarget] Load images in order of registrationThis makes sure that images are loaded in the order in which they are registered with libomptarget.If a target can load multiple images and thes
[libomptarget] Load images in order of registrationThis makes sure that images are loaded in the order in which they are registered with libomptarget.If a target can load multiple images and these images depend on each other (for example if one image contains the programs target regions and one image contains library code), then the order in which images are loaded can be important for symbol resolution (for example, in the VE plugin).In this case: because the same code exist in the host binaries, the order in which the host linker loads them (which is also the order in which images are registered with libomptarget) is the order in which the images have to be loaded onto the device.Reviewed By: JonChesterfieldDifferential Revision: https://reviews.llvm.org/D95530
[OpenMP][NFC] Clang format the libomptarget pluginsReviewed By: tianshilei1992Differential Revision: https://reviews.llvm.org/D96445
[OpenMP] Take elf_common.c as a interface libraryFor now `elf_common.c` is taken as a common part included intodifferent plugin implementations directly via`#include "../../common/elf_common.c"`,
[OpenMP] Take elf_common.c as a interface libraryFor now `elf_common.c` is taken as a common part included intodifferent plugin implementations directly via`#include "../../common/elf_common.c"`, which is not a best practice. Since itis simple enough such that we don't need to create a real library for it, we justtake it as a interface library so that other targets can link it directly. Anotheradvantage of this method is, we don't need to add the folder into header searchpath which can potentially pollute the search path.VE and AMD platforms have not been tested because I don't have target machines.Reviewed By: JonChesterfieldDifferential Revision: https://reviews.llvm.org/D94443
[OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptargetThe libomptarget VE plugin [[http://lab.llvm.org:8014/builders/clang-ve-ninja/builds/8937/step
[OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptargetThe libomptarget VE plugin [[http://lab.llvm.org:8014/builders/clang-ve-ninja/builds/8937/steps/build-unified-tree/logs/stdio| fails zu build ]] after ae95ceeb8f98d81f615c69da02f73b5ee6b1519a .Differential Revision: https://reviews.llvm.org/D88476
[OpenMP] Consolidate error handling and debug messages in LibomptargetSummary:This patch consolidates the error handling and messaging routines to a singlefile omptargetmessage. The goal is to s
[OpenMP] Consolidate error handling and debug messages in LibomptargetSummary:This patch consolidates the error handling and messaging routines to a singlefile omptargetmessage. The goal is to simplify the error handling interfaceprior to adding more error handling supportReviewers: jdoerfert grokos ABataev AndreyChurbanov ronlieb JonChesterfield ye-luo tianshilei1992Subscribers: danielkiss guansong jvesely kerbowa nhaehnle openmp-commits sstefan1 yaxunl
[Openmp][VE] Libomptarget plugin for NEC SX-AuroraThis patch adds a libomptarget plugin for the NEC SX-Aurora TSUBASA VectorEngine (VE target). The code is largely based on the existing generic-e
[Openmp][VE] Libomptarget plugin for NEC SX-AuroraThis patch adds a libomptarget plugin for the NEC SX-Aurora TSUBASA VectorEngine (VE target). The code is largely based on the existing generic-elfplugin and uses the NEC VEO and VEOSINFO libraries for offloading.Differential Revision: https://reviews.llvm.org/D76843