| [NFC][Offload] Move variables to where they are used (#99956) | 1 年前 |
| [cmake] Use DetectTestCompiler from openmp directory Fix the DetectTestCompiler project use to reference the openmp source tree, since the respective files were not copied to offload, and there is no point in duplicating them. Fixes #90333 | 1 年前 |
| [Offload] Move /openmp/libomptarget to /offload (#75125) In a nutshell, this moves our libomptarget code to populate the offload subproject. With this commit, users need to enable the new LLVM/Offload subproject as a runtime in their cmake configuration. No further changes are expected for downstream code. Tests and other components still depend on OpenMP and have also not been renamed. The results below are for a build in which OpenMP and Offload are enabled runtimes. In addition to the pure git mv, we needed to adjust some CMake files. Nothing is intended to change semantics. ninja check-offload Works with the X86 and AMDGPU offload tests ninja check-openmp Still works but doesn't build offload tests anymore. ls install/lib Shows all expected libraries, incl. - libomptarget.devicertl.a - libomptarget-nvptx-sm_90.bc - libomptarget.rtl.amdgpu.so -> libomptarget.rtl.amdgpu.so.18git - libomptarget.so -> libomptarget.so.18git Fixes: https://github.com/llvm/llvm-project/issues/75124 --------- Co-authored-by: Saiyedul Islam <Saiyedul.Islam@amd.com> | 2 年前 |
| [Offload][OMPT] Add callbacks for (dis)associate_ptr (#99046) This adds the OMPT callbacks for the API functions disassociate_ptr and associate_ptr. | 2 年前 |
| [offload] - Fix issue with standalone debug offload build (#104647) Error: CommandLine Error: Option 'attributor-manifest-internal' registered more than once During the standalone debug build of offload the above error is seen at app runtime when using a prebuilt llvm with LLVM_LINK_LLVM_DYLIB=ON. This is caused by linking both libLLVM.so and various archives that are found via llvm_map_components_to_libnames for jit support. | 1 年前 |
| [Offload][OMPT] Add callbacks for (dis)associate_ptr (#99046) This adds the OMPT callbacks for the API functions disassociate_ptr and associate_ptr. | 2 年前 |
| [offload] [test] Add "omp" test dependency only when present Add the omp target dependency to tests only when the respective target is present, i.e. when not building standalone against system libomp. | 1 年前 |
| [Offload][NFC] Remove 'libomptarget' message helpers (#92581) Summary: This isn't libomptarget anymore, and these messages were always unnecessary because no other project uses these prefixed messages. The effect of this is that no longer will the logs have LIBOMPTARGET -- in front of everything. We have a message stating when we start building the offload project so it'll still be trivial to find. | 2 年前 |
| [Offload][NFC] Remove 'libomptarget' message helpers (#92581) Summary: This isn't libomptarget anymore, and these messages were always unnecessary because no other project uses these prefixed messages. The effect of this is that no longer will the logs have LIBOMPTARGET -- in front of everything. We have a message stating when we start building the offload project so it'll still be trivial to find. | 2 年前 |
| [Offload] Move /openmp/libomptarget to /offload (#75125) In a nutshell, this moves our libomptarget code to populate the offload subproject. With this commit, users need to enable the new LLVM/Offload subproject as a runtime in their cmake configuration. No further changes are expected for downstream code. Tests and other components still depend on OpenMP and have also not been renamed. The results below are for a build in which OpenMP and Offload are enabled runtimes. In addition to the pure git mv, we needed to adjust some CMake files. Nothing is intended to change semantics. ninja check-offload Works with the X86 and AMDGPU offload tests ninja check-openmp Still works but doesn't build offload tests anymore. ls install/lib Shows all expected libraries, incl. - libomptarget.devicertl.a - libomptarget-nvptx-sm_90.bc - libomptarget.rtl.amdgpu.so -> libomptarget.rtl.amdgpu.so.18git - libomptarget.so -> libomptarget.so.18git Fixes: https://github.com/llvm/llvm-project/issues/75124 --------- Co-authored-by: Saiyedul Islam <Saiyedul.Islam@amd.com> | 2 年前 |
| [offload] Define LIBOMPTARGET_OPENMP_*_FOLDER in standalone builds Define LIBOMPTARGET_OPENMP_HEADER_FOLDER and LIBOMPTARGET_OPENMP_HOST_RTL_FOLDER needed for testing in standalone builds. | 1 年前 |
| [Offload][NFC] Add offload subfolder and README (#77154) The readme only states the goal and has links to further information, e.g., our meetings. --------- Co-authored-by: Shilei Tian <i@tianshilei.me> | 2 年前 |
| [Offload] Move /openmp/libomptarget to /offload (#75125) In a nutshell, this moves our libomptarget code to populate the offload subproject. With this commit, users need to enable the new LLVM/Offload subproject as a runtime in their cmake configuration. No further changes are expected for downstream code. Tests and other components still depend on OpenMP and have also not been renamed. The results below are for a build in which OpenMP and Offload are enabled runtimes. In addition to the pure git mv, we needed to adjust some CMake files. Nothing is intended to change semantics. ninja check-offload Works with the X86 and AMDGPU offload tests ninja check-openmp Still works but doesn't build offload tests anymore. ls install/lib Shows all expected libraries, incl. - libomptarget.devicertl.a - libomptarget-nvptx-sm_90.bc - libomptarget.rtl.amdgpu.so -> libomptarget.rtl.amdgpu.so.18git - libomptarget.so -> libomptarget.so.18git Fixes: https://github.com/llvm/llvm-project/issues/75124 --------- Co-authored-by: Saiyedul Islam <Saiyedul.Islam@amd.com> | 2 年前 |