[all-commits] [llvm/llvm-project] 44f302: [OpenMP][NFC] Pass a DeviceTy, not the device numb...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Feb 16 13:38:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44f3022cdf01b26d46ebff3c26a5e572aee2acdf
      https://github.com/llvm/llvm-project/commit/44f3022cdf01b26d46ebff3c26a5e572aee2acdf
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/omptarget.cpp
    M openmp/libomptarget/src/private.h
    M openmp/libomptarget/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Pass a DeviceTy, not the device number to `target`

This unifies the API of `target` relative to `targetUpdateData` and
such.

Reviewed By: tianshilei1992, grokos

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




More information about the All-commits mailing list