Skip to content

setting kernel arguments before recording it in command buffer #1329

@aharon-abramson

Description

@aharon-abramson

Currently, the specification for clCommandNDRangeKernelKHR says:

kernel is a valid kernel object which must have its arguments set.

This is indeed true if cl_khr_command_buffer_mutable_dispatch is not supported. However, our implementation does support this extension, and in our use cases, we don't know at least some of the kernel's arguments at recording time.
I suggest to specify in cl_khr_command_buffer_mutable_dispatch that when recording an ND-range kernel command, kernel's arguments don't have to be set (of course, all of them must be set when the command buffer is replayed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cl_khr_command_bufferRelating to the command-buffer family of extension

    Type

    No type

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions