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@[email protected]>
  • Loading branch information
masahi and Masahiro Masuda committed Apr 11, 2021
1 parent dec51c5 commit 5bc1cec
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 102 deletions.
Loading

0 comments on commit 5bc1cec

Please sign in to comment.