Skip to content
Commit 46bb6613 authored by MaheshRavishankar's avatar MaheshRavishankar
Browse files

[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
parent b684c1a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment