[clang] [HIP] Move HIP to the new driver by default (PR #123359)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 17 13:00:23 PST 2025


jhuber6 wrote:

> > > For now, it's probably easier just to put some indirection in this and pass a struct to the first argument.
> > 
> > 
> > It would be even easier to not make the move. Does "addr" have different meanings in each context where an offload_entry is used? Is this going to confuse the debugger?
> 
> It's just a struct, what the argument do is determined by an enum, so when given a `managed` var, we'd just GEP the pointer instead of passing it directly. I probably should work on unifying all of these though, but that's a larger challenge since I'm just trying to get it over the finish line right now.



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


More information about the cfe-commits mailing list