[all-commits] [llvm/llvm-project] f6981a: [mlir][vulkan-runner] Add basic timing for compute...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Mar 4 14:15:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f6981ac595cc5e85880f190a0c898049a93ccd31
      https://github.com/llvm/llvm-project/commit/f6981ac595cc5e85880f190a0c898049a93ccd31
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h

  Log Message:
  -----------
  [mlir][vulkan-runner] Add basic timing for compute pipeline

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.

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




More information about the All-commits mailing list