[all-commits] [llvm/llvm-project] 5da242: [mlir][gpu] Only transform mapped parallel loops t...
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Fri Nov 13 00:22:45 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5da2423bc02f83598405fdfc532de0faa3502ec7
https://github.com/llvm/llvm-project/commit/5da2423bc02f83598405fdfc532de0faa3502ec7
Author: Stephan Herhut <herhut at google.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M mlir/include/mlir/Conversion/SCFToGPU/SCFToGPU.h
M mlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp
M mlir/lib/Conversion/SCFToGPU/SCFToGPUPass.cpp
M mlir/test/Conversion/SCFToGPU/parallel_loop.mlir
Log Message:
-----------
[mlir][gpu] Only transform mapped parallel loops to GPU.
This exposes a hook to configure legality of operations such that only
`scf.parallel` operations that have mapping attributes are marked as
illegal. Consequently, the transformation can now also be applied to
mixed forms.
Differential Revision: https://reviews.llvm.org/D91340
More information about the All-commits
mailing list