[PATCH] D121468: [OpenMP] Add linking of OpenMP math library

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 11 10:36:04 PST 2022


JonChesterfield added inline comments.


================
Comment at: clang/include/clang/Driver/Options.td:1056
+def libomptarget_nvptx_math_bc_path_EQ : Joined<["--"], "libomptarget-nvptx-math-bc-path=">,
+  Group<i_Group>, HelpText<"Path to libomptarget-nvptx math bitcode library">;
 def dD : Flag<["-"], "dD">, Group<d_Group>, Flags<[CC1Option]>,
----------------
jdoerfert wrote:
> FWIW, I don't believe this amdgpu/nvpxt separation is actually improving things, on the contrary.
libomptarget_gpu? Definitely simplifies clang which is a win. I think it's an artefact of the previous device runtime layout.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121468/new/

https://reviews.llvm.org/D121468



More information about the cfe-commits mailing list