CTS changes require for cl_khr_command_buffer PR KhronosGroup/OpenCL-Docs#1411:
- Remove test for pending state query
- Either rework existing simulataneous use tests so that it tests the new definition, or delete them and create new more suitable tests without tech-debt from old definition. Without update it might be hard to write a test that avoids data races from the possibility of concurrent executions.
- Add tests for pipelined submission of a command-buffer not created with simultaneous-use. Ideally stressing indriect dependencies as well as direct ones:
- in-order queue to express depdencies
- out-of-order queue with event dependencies to express depenencies
- barrier to express for dependencies
- Add cl_khr_command_buffer_mutable_dispatch tests for updating and enqueueing pipelined submissions of a non-simultaneous use command-buffer with depdencies between each enqueue, and only do a blocking wait at the end and verify final result.
- Add cl_khr_command_buffer_mutable_dispatch tests for a simultaneous-use command-buffer, where two invocations are scheduled such that they can run concurrently, but the second invocation is updated such that it uses different inputs/outputs to avoid race conditions in the kernel.
CTS changes require for cl_khr_command_buffer PR KhronosGroup/OpenCL-Docs#1411: