Skip to content

Commit

Permalink
[Vulkan] Support uniform buffer object for passing many scalar argume…
Browse files Browse the repository at this point in the history
…nts (apache#7717)

* ubo codegen first cut

* begin runtime change for UBO

* allocate and bind ubo

* query memory type for uniform

* refactor

* do not use float64

* trying an approach similar to push constant

* add more log

* do not delete ubo when not using it

* cumsum and nms test working with ubo

* remove log

* cleaning up

* formatting

* revert BufferArgument change

* refactored codegen

* minor fix

* introduce value kind for ubo

* fix cpplint and revert float64 change

* query push constant size using runtime API

* let vkmap/unmap allocate and delete host_buf

* doc update

* fix typo

Co-authored-by: Masahiro Masuda <masahi@129@gmail.com>
  • Loading branch information
2 people authored and tmoreau89 committed Apr 11, 2021
1 parent 4c2dbd7 commit 9785f0e
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 102 deletions.
Loading

0 comments on commit 9785f0e

Please sign in to comment.