[Openmp-commits] [PATCH] D113359: [Libomptarget][WIP] Introduce VGPU Plugin

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 18 12:50:30 PST 2022


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/DeviceRTL/src/Kernel.cpp:127
 
+#pragma omp begin declare variant match(                                       \
+    device = {kind(cpu)}, implementation = {extension(match_any)})
----------------
tianshilei1992 wrote:
> Are these code here unintentional? We don't need to specialize this function for vgpu IIRC.
we might be able to avoid it if we move the synchronize::threads "effect" into the VGPU instead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113359/new/

https://reviews.llvm.org/D113359



More information about the Openmp-commits mailing list