[all-commits] [llvm/llvm-project] 0e76c0: [mlir][vulkan-runner] Make vulkan runner use GPU d...
Thomas via All-commits
all-commits at lists.llvm.org
Fri Jun 26 08:03:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0e76c0a9ad96517edbf989162b22d0a12d0ef41a
https://github.com/llvm/llvm-project/commit/0e76c0a9ad96517edbf989162b22d0a12d0ef41a
Author: Thomas Raoux <thomasraoux at google.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
Log Message:
-----------
[mlir][vulkan-runner] Make vulkan runner use GPU device memory
To be able to have more meaningful performance out of workloadsi going through
the vulkan-runner we need to use buffers from GPU device memory as access to
system memory is significantly slower for GPU with dedicated memory. This adds
code to do a copy through staging buffer as GPU memory cannot always be mapped
on the host.
Differential Revision: https://reviews.llvm.org/D82504
More information about the All-commits
mailing list