[Mlir-commits] [mlir] [MLIR][OpenMP] Skip host omp ops when compiling for the target device (PR #85239)

Jan Leyonberg llvmlistbot at llvm.org
Fri Mar 22 06:53:21 PDT 2024


================
@@ -2922,6 +2922,162 @@ convertDeclareTargetAttr(Operation *op, mlir::omp::DeclareTargetAttr attribute,
   return success();
 }
 
+static bool isInternalTargetDeviceOp(Operation *op) {
----------------
jsjodin wrote:

I'll make this change once we agree on the other comments.

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


More information about the Mlir-commits mailing list