[all-commits] [llvm/llvm-project] d29721: [OpenMP] Add a driver flag to enable the new devic...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jul 26 13:36:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2972116923a124de71cea006eca3068bdc381ea
      https://github.com/llvm/llvm-project/commit/d2972116923a124de71cea006eca3068bdc381ea
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    A clang/test/Driver/Inputs/libomptarget/libomptarget-new-nvptx-sm_35.bc
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  -----------
  [OpenMP] Add a driver flag to enable the new device runtime library

This patch adds a driver flag `-fopenmp-target-new-runtime` to optionally enable the new device runtime
bitcode library. This allows users to enable the new experimental runtime
before it becomes the default in the future.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list