[all-commits] [llvm/llvm-project] 0e39b1: [mlir] Remove the mlir-spirv-cpu-runner (move to m...

Andrea Faulds via All-commits all-commits at lists.llvm.org
Fri Nov 8 05:02:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e39b1348e5fcadb129a6f113e5d708a526d8faa
      https://github.com/llvm/llvm-project/commit/0e39b1348e5fcadb129a6f113e5d708a526d8faa
  Author: Andrea Faulds <andrea.faulds at amd.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M mlir/docs/SPIRVToLLVMDialectConversion.md
    M mlir/lib/ExecutionEngine/CMakeLists.txt
    A mlir/lib/ExecutionEngine/SpirvCpuRuntimeWrappers.cpp
    M mlir/test/CMakeLists.txt
    A mlir/test/Integration/GPU/SPIRV/double.mlir
    A mlir/test/Integration/GPU/SPIRV/lit.local.cfg
    A mlir/test/Integration/GPU/SPIRV/simple_add.mlir
    M mlir/test/lib/Pass/TestSPIRVCPURunnerPipeline.cpp
    M mlir/test/lit.cfg.py
    R mlir/test/mlir-spirv-cpu-runner/CMakeLists.txt
    R mlir/test/mlir-spirv-cpu-runner/double.mlir
    R mlir/test/mlir-spirv-cpu-runner/lit.local.cfg
    R mlir/test/mlir-spirv-cpu-runner/mlir_test_spirv_cpu_runner_c_wrappers.cpp
    R mlir/test/mlir-spirv-cpu-runner/simple_add.mlir
    M mlir/tools/CMakeLists.txt
    M mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp
    R mlir/tools/mlir-spirv-cpu-runner/CMakeLists.txt
    R mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp

  Log Message:
  -----------
  [mlir] Remove the mlir-spirv-cpu-runner (move to mlir-cpu-runner) (#114563)

This commit builds on and completes the work done in
9f6c632ecda08bfff76b798c46d5d7cfde57b5e9 to eliminate the need for a
separate mlir-spirv-cpu-runner binary. Since the MLIR processing is
already done outside this runner, the only real difference between it
and the mlir-cpu-runner is the final linking step between the nested
LLVM IR modules. By moving this step into mlir-cpu-runner behind a new
command-line flag (`--link-nested-modules`), this commit is able to
completely remove the runner component of the mlir-spirv-cpu-runner.

The runtime libraries and the tests are moved and renamed to fit into
the Execution Engine and Integration tests, following the model of the
similar migration done for the CUDA Runner in D97463.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list