[all-commits] [llvm/llvm-project] e5608c: [mlir][GPUToSPIRV] Add a test pass to set workgrou...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Tue Jul 28 12:11:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e5608cacfd60bb28685206ca96a8f3ceeee1e8a6
      https://github.com/llvm/llvm-project/commit/e5608cacfd60bb28685206ca96a8f3ceeee1e8a6
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    A mlir/test/Conversion/GPUToSPIRV/test_spirv_entry_point.mlir
    M mlir/test/lib/Dialect/SPIRV/CMakeLists.txt
    A mlir/test/lib/Dialect/SPIRV/TestEntryPointAbi.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][GPUToSPIRV] Add a test pass to set workgroup size for kernel
functions.

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.

Differential Revision: https://reviews.llvm.org/D84619




More information about the All-commits mailing list