[all-commits] [llvm/llvm-project] 693358: [OpenMP][DeviceRTL][NFC] Use `OMPTgtExecModeFlags`...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sun Jan 22 16:11:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 693358d78721f4fa516cc703bffa4ae35080dca8
      https://github.com/llvm/llvm-project/commit/693358d78721f4fa516cc703bffa4ae35080dca8
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
    A llvm/include/llvm/Frontend/OpenMP/OMPDeviceConstants.h
    M openmp/libomptarget/DeviceRTL/include/Types.h
    M openmp/libomptarget/DeviceRTL/src/Kernel.cpp

  Log Message:
  -----------
  [OpenMP][DeviceRTL][NFC] Use `OMPTgtExecModeFlags` from `llvm/include/llvm/Frontend/OpenMP/OMPDeviceConstants.h`

This patch makes preparation for a series that will enable per-kernel information
used in both host and device runtime. Some variables/enums, such as `OMPTgtExecModeFlags`,
have to be shared by both of them. A new header `OMPDeviceConstants.h` is added,
containing code that will be shared by them. We will introduce more variables soon.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list