[PATCH] D75192: [mlir][spirv] Update mlir-vulkan-runner execution driver.
Denis Khalikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 09:00:39 PST 2020
denis13 created this revision.
denis13 added reviewers: antiagainst, mravishankar.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, shauheen, burmako, jpienaar, rriddle, mehdi_amini, mgorny.
Herald added a reviewer: herhut.
Herald added a project: LLVM.
This patch:
- 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 for
VulkanRuntimeManager.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75192
Files:
mlir/include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h
mlir/include/mlir/InitAllPasses.h
mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
mlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
mlir/test/Conversion/GPUToVulkan/invoke-vulkan.mlir
mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
mlir/test/mlir-vulkan-runner/addf.mlir
mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
mlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75192.246755.patch
Type: text/x-patch
Size: 43066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200226/5f519ff6/attachment-0001.bin>
More information about the llvm-commits
mailing list