llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[MLIR][OpenMP] Fix for intermixed TargetDataOp and TargetOp code

Open agozillon opened this issue 11 months ago • 0 comments

This is a simple suggested fix (might not be the correct fix) for a problem where TargetOp's nested in TargetDataOp's may have some dependencies on operations inside of the TargetDataOp (a host operation, which can contain both device and host operations) via MapOp's or BoundOps.

The general idea is/would be to treat them similarly to declare target nohost/any functions, but this may not be the correct way to handle it, I only have a cursory understanding of the new flow from reading the PR and tinkering someone with a more intimate knowledge of it may be able to come up with a more sufficient fix.

agozillon avatar Mar 26 '24 03:03 agozillon