[Mlir-commits] [mlir] [MLIR][OpenMP] Skip host omp ops when compiling for the target device (PR #85239)
Sergio Afonso
llvmlistbot at llvm.org
Thu Mar 21 07:52:09 PDT 2024
================
@@ -2922,6 +2922,162 @@ convertDeclareTargetAttr(Operation *op, mlir::omp::DeclareTargetAttr attribute,
return success();
}
+static bool isInternalTargetDeviceOp(Operation *op) {
----------------
skatrak wrote:
```suggestion
static bool isTargetDeviceOp(Operation *op) {
```
https://github.com/llvm/llvm-project/pull/85239
More information about the Mlir-commits
mailing list