[all-commits] [llvm/llvm-project] 55d043: [OpenMP][Docs] Document multi-architecture binary ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Oct 11 11:41:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55d043cc06497533264eb0aa210f4d8b39eef378
      https://github.com/llvm/llvm-project/commit/55d043cc06497533264eb0aa210f4d8b39eef378
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M openmp/docs/SupportAndFAQ.rst

  Log Message:
  -----------
  [OpenMP][Docs] Document multi-architecture binary handling

Summary:
This patch adds some documentation in the FAQ regarding
multi-architecture binary support using the `--offload-arch` flag.


  Commit: 4b76a80459e69daca2f62f522a6117a9350613dc
      https://github.com/llvm/llvm-project/commit/4b76a80459e69daca2f62f522a6117a9350613dc
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp

  Log Message:
  -----------
  [Clang] Fix use of `hasArg` when `hasFlag` should be used instead

Summary:
This option forwards a clang flag with a `-no` variant to the Clang
compiler. It should use the `hasFlag` so it works properly when the
option is overridden.


  Commit: 316eaa3008a80add0e39cc0ab538c04c595a31d3
      https://github.com/llvm/llvm-project/commit/316eaa3008a80add0e39cc0ab538c04c595a31d3
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M openmp/docs/SupportAndFAQ.rst

  Log Message:
  -----------
  [OpenMP][Docs] Add documentation for linking OpenMP with CUDA/HIP

Summary:
This patch adds an entry to the FAQ that shows how to link CUDA with
OpenMP.


  Commit: c2494635f47d94ca1c596fe5e0983295aba81853
      https://github.com/llvm/llvm-project/commit/c2494635f47d94ca1c596fe5e0983295aba81853
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp

  Log Message:
  -----------
  [OpenMP] Fix `-foffload-lto` for offloading to Nvidia

Summary:
A previous patch ensured that we can't use `-foffload-lto` with CUDA in
non-RDC mode. This did not correctly check for if we were actually
offloading to CUDA so it ended up preventing us from using LTO for
OpenMP.


Compare: https://github.com/llvm/llvm-project/compare/bb4abb1a005c...c2494635f47d


More information about the All-commits mailing list