[Openmp-commits] [PATCH] D95104: [OpenMP] Replace `cuda.h` with (forward) declarations in the offload plugin

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 20 16:06:58 PST 2021


jdoerfert created this revision.
Herald added subscribers: guansong, bollu, yaxunl.
jdoerfert requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: OpenMP.

Note: This is not a standalone patch but can be picked up and combined

  with cmake changes.

To enable us to build the plugin without CUDA available on the build
machine we (forward) declare all the `cuda.h` symbols we use.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95104

Files:
  openmp/libomptarget/plugins/cuda/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95104.318051.patch
Type: text/x-patch
Size: 3887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210121/a0326a7f/attachment.bin>


More information about the Openmp-commits mailing list