Enqueue Kernel Launch With Args#

Warning

Experimental features:

  • May be replaced, updated, or removed at any time.

  • Do not require maintaining API/ABI stability of their own additions over time.

  • Do not require conformance testing of their own additions.

Motivation#

If an application is setting a kernel’s args and launching that kernel in the same place, we can eliminate some overhead by allowing this to be accomplished with one API call, rather than requiring one call for each argument and one to launch. This also aligns with developments in the Level Zero backend, as well as how CUDA and HIP handle kernel args.

Changelog#

Revision

Changes

1.0

Initial Draft

Support#

Adapters must support this feature. A naive implementation can easily be constructed as a wrapper around the existing APIs for setting kernel args and launching.

Contributors#