[Openmp-commits] [PATCH] D106751: [OpenMP][Libomptarget] Adding `print_device_info` to RTL and `omptarget`
Senran Zhang via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 27 20:19:47 PDT 2021
zsrkmyn added inline comments.
================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:1187
+ checkResult(
+ cuDeviceGetAttribute(&TmpInt, CU_DEVICE_ATTRIBUTE_GPU_OVERLAP, Device),
+ "Error returned from cuDeviceGetAttribute\n");
----------------
Hi, I just found the macro CU_DEVICE_ATTRIBUTE_GPU_OVERLAP is defined nowhere inside the llvm source tree, leading to compilation failure on machines w/o cuda SDK. Could you help take a look?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106751/new/
https://reviews.llvm.org/D106751
More information about the Openmp-commits
mailing list