This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vulkan-runner] Add test to time a large vector add
ClosedPublic

Authored by antiagainst on Mar 25 2020, 1:48 PM.

Details

Summary

The test performs add on vector<16384xf32> with
number of workgroups = (128, 1, 1)
local workgroup size = (128, 1, 1)

On a NVIDIA Quadro P1000, I see the following results:

Command buffer submit time: 13us
Compute shader execution time: 19.616u

Diff Detail

Event Timeline

antiagainst created this revision.Mar 25 2020, 1:48 PM
denis13 accepted this revision.Mar 25 2020, 2:42 PM

LGTM! Thanks!
I'm currently have access only to "mobile" gpu "GeForce GTX 1050 Mobile":
Compute shader execution time: 15.360us
Command buffer submit time: 7us
Wait idle time: 155us

This revision is now accepted and ready to land.Mar 25 2020, 2:42 PM

LGTM! Thanks!
I'm currently have access only to "mobile" gpu "GeForce GTX 1050 Mobile":
Compute shader execution time: 15.360us
Command buffer submit time: 7us
Wait idle time: 155us

Ah, nice to have another data point! :)

This revision was automatically updated to reflect the committed changes.