This allows using command line flags to lowere from GPU to SPIR-V. The
pass added is only for testing/example purposes. Most uses cases will
need more fine-grained control on setting workgroup sizes for kernel
functions.
Depends On D84590
Paths
| Differential D84619
[mlir][GPUToSPIRV] Add a test pass to set workgroup size for kernel functions. ClosedPublic Authored by mravishankar on Jul 26 2020, 11:26 PM.
Details Summary This allows using command line flags to lowere from GPU to SPIR-V. The Depends On D84590
Diff Detail
Event TimelineThis revision now requires changes to proceed.Jul 26 2020, 11:29 PM mravishankar added inline comments.
mravishankar added inline comments. This revision was not accepted when it landed; it landed in state Needs Review.Jul 28 2020, 12:11 PM This revision was landed with ongoing or failed builds. Closed by commit rGe5608cacfd60: [mlir][GPUToSPIRV] Add a test pass to set workgroup size for kernel (authored by mravishankar). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 281314 mlir/test/Conversion/GPUToSPIRV/test_spirv_entry_point.mlir
mlir/test/lib/Dialect/SPIRV/CMakeLists.txt
mlir/test/lib/Dialect/SPIRV/TestEntryPointAbi.cpp
mlir/tools/mlir-opt/mlir-opt.cpp
|
This doesn't look used?