[PATCH] D18172: [CUDA][OpenMP] Add a generic offload action builder

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 28 08:40:59 PDT 2016


hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.

A nice abstraction and cleanup. LGTM.


================
Comment at: lib/Driver/Driver.cpp:1625
@@ +1624,3 @@
+      // architecture. If we are in host-only mode we return 'success' so that
+      // the host use the CUDA offload kind.
+      if (auto *IA = dyn_cast<InputAction>(HostAction)) {
----------------
use -> uses


https://reviews.llvm.org/D18172





More information about the cfe-commits mailing list