[PATCH] D76059: [mlir][vulkan-runner] Use C-compatible wrapper emission.

Denis Khalikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 05:14:03 PDT 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.
Herald added a reviewer: herhut.
Herald added a project: LLVM.

A memref argument is converted into a pointer-to-struct argument
of type `{T*, T*, i64, i64[N], i64[N]}*` in the wrapper function,
where T is the converted element type and N is the memref rank.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76059

Files:
  mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
  mlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
  mlir/test/Conversion/GPUToVulkan/invoke-vulkan.mlir
  mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
  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: D76059.249906.patch
Type: text/x-patch
Size: 23413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200312/d8501107/attachment.bin>


More information about the llvm-commits mailing list