[PATCH] D75531: [mlir][vulkan-runner] Add basic timing for compute pipeline

Lei Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 08:34:58 PST 2020


antiagainst created this revision.
antiagainst added reviewers: denis13, mravishankar, benvanik.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

This commit adds timestamp query commands in Vulkan runner's
compute pipeline to gain insights into how long it takes to
run the compute shader. This commit also adds timing from CPU
side for VkQueueSubmit and vkQueueWaitIdle.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75531

Files:
  mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
  mlir/tools/mlir-vulkan-runner/VulkanRuntime.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75531.247914.patch
Type: text/x-patch
Size: 11400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200303/08ea7d34/attachment.bin>


More information about the llvm-commits mailing list