[all-commits] [llvm/llvm-project] 99a562: [mlir][spirv] Add mgpu* wrappers for Vulkan runtim...

Andrea Faulds via All-commits all-commits at lists.llvm.org
Thu Jan 16 12:47:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99a562b3cb17e89273ba0fe77129f2fb17a19381
      https://github.com/llvm/llvm-project/commit/99a562b3cb17e89273ba0fe77129f2fb17a19381
  Author: Andrea Faulds <andrea.faulds at amd.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
    M mlir/test/lib/Pass/TestVulkanRunnerPipeline.cpp
    M mlir/test/mlir-vulkan-runner/addf.mlir
    M mlir/test/mlir-vulkan-runner/addf_if.mlir
    M mlir/test/mlir-vulkan-runner/addui_extended.mlir
    M mlir/test/mlir-vulkan-runner/smul_extended.mlir
    M mlir/test/mlir-vulkan-runner/time.mlir
    M mlir/test/mlir-vulkan-runner/umul_extended.mlir
    M mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
    M mlir/test/mlir-vulkan-runner/vector-interleave.mlir
    M mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
    M mlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp

  Log Message:
  -----------
  [mlir][spirv] Add mgpu* wrappers for Vulkan runtime, migrate some tests (#123114)

This commit adds new wrappers around the MLIR Vulkan runtime which
implement the mgpu* APIs (as generated by GPUToLLVMConversionPass), adds
an optional LLVM lowering to the Vulkan runner mlir-opt pipeline based
on GPUToLLVMConversionPass, and migrates several of the
mlir-vulkan-runner tests to use mlir-cpu-runner instead, together with
the new pipeline and wrappers.

This is a further incremental step towards eliminating
mlir-vulkan-runner and its associated pipeline, passes and wrappers
(#73457). This commit does not migrate all of the tests to the new
system, because changes to the mgpuLaunchKernel ABI will be necessary to
support the tests that use multi-dimensional memref arguments.



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