[all-commits] [llvm/llvm-project] 46bb66: [mlir][GPU] Use StructAttr to drive lowering from ...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Tue Mar 24 16:17:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 46bb6613a31fd43b6d4485ce7e71a387dc22cbc7
https://github.com/llvm/llvm-project/commit/46bb6613a31fd43b6d4485ce7e71a387dc22cbc7
Author: MaheshRavishankar <ravishankarm at google.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
M mlir/include/mlir/Dialect/GPU/CMakeLists.txt
A mlir/include/mlir/Dialect/GPU/GPUBase.td
M mlir/include/mlir/Dialect/GPU/GPUOps.td
M mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
A mlir/include/mlir/Dialect/GPU/ParallelLoopMapperAttr.td
M mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Dialect/GPU/Transforms/ParallelLoopMapper.cpp
M mlir/test/Conversion/LoopsToGPU/parallel_loop.mlir
Log Message:
-----------
[mlir][GPU] Use StructAttr to drive lowering from loop.parallel to
gpu.launch
Current implementation of lowering from loop.parallel to gpu.launch
uses a DictionaryAttr to specify the mapping. Moving this attribute to
be auto-generated from specification as a StructAttr. This simplifies
a lot the logic of looking up and creating this attribute.
Differential Revision: https://reviews.llvm.org/D76165
More information about the All-commits
mailing list