[Openmp-commits] [PATCH] D106933: [OpenMP] Fixing missing variables when CUDA SDK not in system

Jose Manuel Monsalve Diaz via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 27 21:39:53 PDT 2021


josemonsalve2 created this revision.
josemonsalve2 added reviewers: jdoerfert, JonChesterfield, ggeorgakoudis, jhuber6, baziotis, sstefan1, uenoku, tianshilei1992, zsrkmyn.
Herald added subscribers: jfb, guansong, yaxunl.
josemonsalve2 requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

This patch fixes the error reported in D106751 <https://reviews.llvm.org/D106751>. When there is no CUDA SDK
installed in the system, the build fails due to missing `CU_DEVICE_ATTRIBUTE`
variables.

Using @zsrkmyn sugested fix


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106933

Files:
  openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106933.362278.patch
Type: text/x-patch
Size: 8158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210728/a0c04045/attachment.bin>


More information about the Openmp-commits mailing list