kompute icon indicating copy to clipboard operation
kompute copied to clipboard

Support granularity of configuration for descriptorsets via parameters/parameterGroup

Open axsaucedo opened this issue 5 years ago • 1 comments

Currently there is potential value from providing an abstraction on the way tensors are made available to algorithms via thec concept of Kompute "Parameters" or "Parameter Groups". This issue encompasses exploring the design for parameter groups to be able to expose how it can be achieved.

axsaucedo avatar Sep 02 '20 17:09 axsaucedo

As I understand the situation mentioned in Discord so far:

  • Explicit Parameters objects.
  • Changed buffer/parameters objects should probably use dedicated descriptor pools for simplicity's sake.
  • Parameters objects, on deletion, need to wait for all commands that use them to complete. (It might be an idea to look into using vkQueueWaitIdle on deletion, unless deletion is expected to occur particularly often. It might also be an idea to check if the library has guarantees like this for other such objects - I'm not sure what would happen if an object was destroyed from, e.g. Python too early.)

20kdc avatar May 03 '21 15:05 20kdc