Skip to content

Commit

Permalink
Require command-buffers to support profiling
Browse files Browse the repository at this point in the history
Mandate that the minimum value reported by
`CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR` should
be `CL_QUEUE_PROFILING_ENABLE`, in line with
`CL_DEVICE_QUEUE_PROPERTIES` / `CL_DEVICE_QUEUE_ON_HOST_PROPERTIES`.
  • Loading branch information
EwanC committed Nov 1, 2022
1 parent 7be538d commit 74655d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/cl_khr_command_buffer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ Add to *Table 5*, _Device Queries_, of section 4.2:
command-queue to be created with a property not reported and still be
compatible with command-buffer execution.

The mandated minimum capability is: `CL_QUEUE_PROFILING_ENABLE`.

| `CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR`
| `cl_command_queue_properties`
| Bitmask of the minimum properties with which a command-queue must be created
Expand Down
1 change: 1 addition & 0 deletions xml/cl.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<comment>
Copyright 2013-2022 The Khronos Group Inc.
Expand Down

0 comments on commit 74655d9

Please sign in to comment.