[all-commits] [llvm/llvm-project] e42e57: [libomptarget][nfc]Generalise DeviceRTL cmake to a...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Tue Oct 26 13:18:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e42e5785ad0c38465d45fe8d292c8e3cf2e260ab
      https://github.com/llvm/llvm-project/commit/e42e5785ad0c38465d45fe8d292c8e3cf2e260ab
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt

  Log Message:
  -----------
  [libomptarget][nfc]Generalise DeviceRTL cmake to allow building for amdgpu

Essentially moves the foreach over sm integers into a macro and instantiates it for nvptx.

NFC in that the macro is not presently instantiated for amdgpu as the corresponding code doesn't compile yet.

Reviewed By: Meinersbur

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




More information about the All-commits mailing list