[PATCH] D80183: [mlir][vulkan-runner] Minor fix in timestamp flag for vulkan runner.

Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 19:16:29 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG92577e6a0f73: [mlir][vulkan-runner] Minor fix in timestamp flag for vulkan runner. (authored by ThomasR).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80183/new/

https://reviews.llvm.org/D80183

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


Index: mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
===================================================================
--- mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
+++ mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
@@ -728,7 +728,7 @@
                           descriptorSets.data(), 0, 0);
   // Get a timestamp before invoking the compute shader.
   if (queryPool != VK_NULL_HANDLE)
-    vkCmdWriteTimestamp(commandBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+    vkCmdWriteTimestamp(commandBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
                         queryPool, 0);
   vkCmdDispatch(commandBuffer, numWorkGroups.x, numWorkGroups.y,
                 numWorkGroups.z);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80183.265114.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200520/cb7783dd/attachment.bin>


More information about the llvm-commits mailing list