Checks spirv::TargetEnv from op to see if it contains either Kernel or Shader capabilities.
If it does, then it will set the memory space mapping accordingly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D134317
[mlir][spirv] Query target environment for mapping memory space ClosedPublic Authored by raikonenfnu on Sep 20 2022, 2:40 PM.
Details Summary Checks spirv::TargetEnv from op to see if it contains either Kernel or Shader capabilities.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 20 2022, 2:47 PM raikonenfnu retitled this revision from [mlir][spirv] Queries target environment for mapping to [mlir][spirv] Query target environment for mapping memory space. Comment ActionsUpdated commit message Closed by commit rG1dc48a916a1b: [mlir][spirv] Query target environment for mapping memory space (authored by raikonenfnu). · Explain WhySep 20 2022, 3:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 461730 mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
mlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir
|