[all-commits] [llvm/llvm-project] c99407: [OpenMP] Make the new device runtime the default

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Dec 2 08:12:12 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c99407e31c3977bf397531bf115a63b0fda68e4d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  [OpenMP] Make the new device runtime the default

This patch changes the `-fopenmp-target-new-runtime` option which controls if
the new or old device runtime is used to be true by default.  Disabling this to
use the old runtime now requires using `-fno-openmp-target-new-runtime`.

Reviewed By: JonChesterfield, tianshilei1992, gregrodgers, ronlieb

Differential Revision: https://reviews.llvm.org/D114890

More information about the All-commits mailing list