[clang] [HIP] Make the new driver bundle outputs for device-only (PR #84534)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 13:28:57 PST 2024


================
@@ -4638,7 +4638,10 @@ Action *Driver::BuildOffloadingActions(Compilation &C,
     }
   }
 
-  if (offloadDeviceOnly())
+  // All kinds exit now in device-only mode except for non-RDC mode HIP.
----------------
jhuber6 wrote:

Basically, the new driver does everything through `BuildOffloadingActions` as a function call which augments the current job list. The old driver has a special builder class that does actions in parallel. There's a big `if (new_driver)` around both those methods.

https://github.com/llvm/llvm-project/pull/84534


More information about the cfe-commits mailing list