| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[OpenMP] Add an information flag for device data transfers This patch adds an information flag that indicated when data is being copied to and from the device. This will be helpful for finding redundant or unnecessary data transfers in applications. Reviewed By: jdoerfert, grokos Differential Revision: https://reviews.llvm.org/D103927 | 4 年前 | |
[libomptarget] Move device environment to shared header, remove divergence Follow on to D110006, related to D110957 Where implementations have diverged this resolves to match the new DeviceRTL - replaces definitions of this struct in deviceRTL and plugins with include - changes the dynamic_shared_size field from D110006 to 32 bits - handles stdint being unavailable in DeviceRTL - adds a zero initializer for the field to amdgpu - moves the extern declaration for deviceRTL to target_interface (omptarget.h is more natural, but doesn't work due to include order with debug.h) - Renames the fields everywhere to match the LLVM format used in DeviceRTL - Makes debug_level uint32_t everywhere (previously sometimes int32_t) Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D111069 | 4 年前 | |
[OpenMP][FIX] Repair ExclusiveAccess move semantic snafu | 4 年前 | |
[Libomptarget] Use entry name for global info Currently, globals on the device will have an infinite reference count and an unknown name when using LIBOMPTARGET_INFO to print the mapping table. We already store the name of the global in the offloading entry so we should be able to use it, although there will be no source location. To do this we need to create a valid ident_t string from a name only. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D124381 | 4 年前 | |
[Libomptarget] Add support for offloading binaries in libomptarget The previous path changed the linker wrapper to embed the offloading binary format inside the target image instead. This will allow us to more generically bundle metadata with these images, such as requires clauses or the target architecture it was compiled for. I wasn't sure how to handle this best, so I introduced a new type that replaces the old __tgt_device_image struct that we can expand inside the runtime library. I made the new __tgt_device_binary struct pretty much the same for now. In the future we could change this struct to pretty much be the OffloadBinary class in the future. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D127432 | 3 年前 | |
[nfc][openmp] Swap arguments to remove noise from upcoming diff | 4 年前 | |
Runtime for Interop directive This implements the runtime portion of the interop directive. It expects the frontend and IRBuilder portions to be in place for proper execution. It currently works only for GPUs and has several TODOs that should be addressed going forward. Reviewed By: RaviNarayanaswamy Differential Revision: https://reviews.llvm.org/D106674 | 4 年前 | |
[Libomptarget] Add support for offloading binaries in libomptarget The previous path changed the linker wrapper to embed the offloading binary format inside the target image instead. This will allow us to more generically bundle metadata with these images, such as requires clauses or the target architecture it was compiled for. I wasn't sure how to handle this best, so I introduced a new type that replaces the old __tgt_device_image struct that we can expand inside the runtime library. I made the new __tgt_device_binary struct pretty much the same for now. In the future we could change this struct to pretty much be the OffloadBinary class in the future. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D127432 | 3 年前 | |
[openmp] Introduce optional plugin init/deinit functions Will allow plugins to migrate away from using global variables to manage lifetime, which will fix a segfault discovered in relation to D127432 Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D130712 (cherry picked from commit 1f9d3974e444f95ddb600a6964ed14ded559e89c) | 3 年前 | |
[openmp] Introduce optional plugin init/deinit functions Will allow plugins to migrate away from using global variables to manage lifetime, which will fix a segfault discovered in relation to D127432 Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D130712 (cherry picked from commit 1f9d3974e444f95ddb600a6964ed14ded559e89c) | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 |