[all-commits] [llvm/llvm-project] e8fdac: [OpenMP][NVPTX] Fixed missing variables for CUDA f...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sat Aug 28 15:08:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8fdacfd8116c9df47fbb954c93871a7cd42f7d0
      https://github.com/llvm/llvm-project/commit/e8fdacfd8116c9df47fbb954c93871a7cd42f7d0
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-08-28 (Sat, 28 Aug 2021)

  Changed paths:
    M openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h

  Log Message:
  -----------
  [OpenMP][NVPTX] Fixed missing variables for CUDA free compilation in NVPTX plugin

`CU_EVENT_DEFAULT` is defined in CUDA header. It should be added to
`openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h` for CUDA free build.

Reviewed By: ronlieb

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




More information about the All-commits mailing list