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 280793 mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
mlir/test/Conversion/GPUToSPIRV/test_spirv_entry_point.mlir
mlir/tools/mlir-opt/mlir-opt.cpp
|
Please do not add test passes to the main tree, they should only be in the test/ directory.