We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3114a12 commit 85df005Copy full SHA for 85df005
flang/lib/Lower/OpenMP/ReductionProcessor.cpp
@@ -339,6 +339,10 @@ mlir::omp::ReductionDeclareOp ReductionProcessor::createReductionDecl(
339
return decl;
340
}
341
342
+// TODO: By-ref vs by-val reductions are currently toggled for the whole
343
+// operation (possibly effecting multiple reduction variables).
344
+// This could cause a problem with openmp target reductions because
345
+// by-ref trivial types may not be supported.
346
bool ReductionProcessor::doReductionByRef(
347
const llvm::SmallVectorImpl<mlir::Value> &reductionVars) {
348
if (reductionVars.empty())
0 commit comments