[all-commits] [llvm/llvm-project] 3ada8d: [libomptarget] Build a minimal deviceRTL for amdgcn

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Wed Dec 4 08:43:46 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ada8d2a87a2e818ea5302f40dbb0319d95b1554
      https://github.com/llvm/llvm-project/commit/3ada8d2a87a2e818ea5302f40dbb0319d95b1554
  Author: JonChesterfield <jonathanchesterfield at gmail.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/CMakeLists.txt
    A openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
    M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
    M openmp/libomptarget/deviceRTLs/common/debug.h
    A openmp/libomptarget/deviceRTLs/common/device_environment.h
    A openmp/libomptarget/deviceRTLs/common/support.h
    R openmp/libomptarget/deviceRTLs/nvptx/src/device_environment.h
    M openmp/libomptarget/deviceRTLs/nvptx/src/omp_data.cu
    M openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
    M openmp/libomptarget/deviceRTLs/nvptx/src/support.cu
    R openmp/libomptarget/deviceRTLs/nvptx/src/support.h

  Log Message:
  -----------
  [libomptarget] Build a minimal deviceRTL for amdgcn

Summary:
[libomptarget] Build a minimal deviceRTL for amdgcn

Repeat of D70414, with an include path fixed. Diff for sanity checking.

The CMakeLists.txt file is functionally identical to the one used in the aomp fork.
Whitespace changes were made based on nvptx/CMakeLists.txt, plus the
copyright notice updated to match (Greg was the original author so would
like his sign off on that here).

This change will build a small subset of the deviceRTL if an appropriate toolchain is
available, e.g. a local install of rocm. Support.h is moved from nvptx as a dependency
of debug.h.

Reviewers: ABataev, jdoerfert

Reviewed By: ABataev

Subscribers: jvesely, mgorny, jfb, openmp-commits, jdoerfert

Tags: #openmp

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




More information about the All-commits mailing list