[all-commits] [llvm/llvm-project] 1090a8: [mlir][vulkan-runner] Update mlir-vulkan-runner ex...

Denis Khalikov via All-commits all-commits at lists.llvm.org
Tue Mar 10 12:58:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1090a830692a863ccb091e3fad8cc1a287417493
      https://github.com/llvm/llvm-project/commit/1090a830692a863ccb091e3fad8cc1a287417493
  Author: Denis Khalikov <khalikov.denis at huawei.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
    A mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
    M mlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
    M mlir/test/Conversion/GPUToVulkan/invoke-vulkan.mlir
    A mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
    M mlir/test/mlir-vulkan-runner/addf.mlir
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
    M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
    M mlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp

  Log Message:
  -----------
  [mlir][vulkan-runner] Update mlir-vulkan-runner execution driver.

* Adds GpuLaunchFuncToVulkanLaunchFunc conversion pass.
* Moves a serialization of the `spirv::Module` from LaunchFuncToVulkanCalls pass to newly created pass.
* Updates LaunchFuncToVulkanCalls instrumentation pass, adds `initVulkan` and `deinitVulkan` runtime calls.
* Adds `bindResource` call to bind specifc resource by the given descriptor set and descriptor binding.
* Eliminates static construction and desctruction of `VulkanRuntimeManager`.

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




More information about the All-commits mailing list