jyu2 added a comment. >> I am not sure I can do that. Do you mean when generate map adding coding >> code to look though reduction clause and generate map for it?
> Yes, exactly. We are missing mappable checking for example: #pragma omp target parallel for reduction(task, +: b[0:2][2:4][1]) In this, we should not add map clause, since the section is not contiguous storage. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108132/new/ https://reviews.llvm.org/D108132 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits