Commit fe1590d
Ewan Crawford
Fix incorrect command-buffer error case (#804)
`clEnqueueCommandBufferKHR()` currently has an error case defined
as
* `CL_INVALID_COMMAND_QUEUE` if *command_queue* is not a valid command-queue.
However there is no parameter named `command_queue` in
`clEnqueueCommandBufferKHR()`, only `queues` and `num_queues`. This
patch updates the error condition to reflect this and return the error code if any
queue in the `queues` list is not a valid command-queue.1 parent 774114e commit fe1590d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
| 737 | + | |
737 | 738 | | |
738 | 739 | | |
739 | 740 | | |
| |||
0 commit comments