This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vulkan-runner] Make vulkan runner use GPU device memory
ClosedPublic

Authored by ThomasRaoux on Jun 24 2020, 2:42 PM.

Details

Summary

To be able to have more meaningful performance out of workloads 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.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Jun 24 2020, 2:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2020, 2:42 PM
antiagainst accepted this revision.Jun 24 2020, 3:30 PM

Nice, thanks for the fix!

This revision is now accepted and ready to land.Jun 24 2020, 3:30 PM
This revision was automatically updated to reflect the committed changes.