[PATCH] D80747: [mlir][SCFToGPU] Remove conversions from scf.for to gpu.launch.

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 12:05:46 PDT 2020


ftynse accepted this revision.
ftynse added a comment.
This revision is now accepted and ready to land.

> Keeping in the affine.for to gpu.launch conversions, which should probably be the affine.parallel to gpu.launch conversion as well.

The maximum code-reuse flow would be affine.for->(affine dep analysis + parallelization) -> affine.parallel -> scf.parallel -> gpu.kernel, unless there is some specific information that can be expressed at both affine and gpu levels but cannot be expressed at scf level.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80747/new/

https://reviews.llvm.org/D80747





More information about the llvm-commits mailing list