Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

[MLIR][GPU] Switch MemRefType memory space to richer attribute mechanism #48475

Open Quuxplusone opened 3 years ago

Quuxplusone commented 3 years ago
Bugzilla Link PR49506
Status NEW
Importance P enhancement
Reported by Vladislav Vinogradov (vlad.vinogradov47@gmail.com)
Reported on 2021-03-10 02:10:47 -0800
Last modified on 2021-03-10 02:16:15 -0800
Version unspecified
Hardware All All
CC joker.eph@gmail.com, ravishankarm@google.com, sanjoy@playingwithpointers.com, zinenko+llvmbug@google.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also PR49507
Quuxplusone commented 3 years ago

Recently the new feature was landed: Model MemRefType memory space as Attribute (https://reviews.llvm.org/D96145). It allows to use more descriptive type for memory space instead of raw integer. GPU Dialect can leverage this feature to directly use "local", "private", "global" memory spaces as strings/enums instead of mapping to/from raw integers.