forked from KhronosGroup/OpenCL-Docs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into extension-dictionaries
- Loading branch information
Showing
35 changed files
with
1,104 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// Copyright 2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_khr_kernel_clock.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2024-03-25 | ||
*IP Status*:: | ||
No known IP claims. | ||
*Contributors*:: | ||
- Kevin Petit, Arm Ltd. + | ||
- Paul Fradgley, Imagination Technologies + | ||
- Jeremy Kemp, Imagination Technologies + | ||
- Ben Ashbaugh, Intel + | ||
- Balaji Calidas, Qualcomm Technologies, Inc. + | ||
- Ruihao Zhang, Qualcomm Technologies, Inc. | ||
|
||
=== Description | ||
|
||
`cl_khr_kernel_clock` adds the ability for a kernel to sample the value from one | ||
of three clocks provided by compute units. | ||
|
||
OpenCL C compilers supporting this extension will define the extension macro | ||
`cl_khr_kernel_clock`, and may define corresponding feature macros | ||
{opencl_c_kernel_clock_scope_device}, | ||
{opencl_c_kernel_clock_scope_work_group}, and | ||
{opencl_c_kernel_clock_scope_sub_group} depending on the reported | ||
capabilities. | ||
|
||
See the link:{OpenCLCSpecURL}#cl_khr_kernel_clock[Kernel Clock] section of the | ||
OpenCL C specification for more information. | ||
|
||
=== Interactions With Other Extensions | ||
|
||
On devices that implement the `EMBEDDED` profile, the `cles_khr_int64` extension | ||
is required for the `clock_read_device`, `clock_read_work_group` and | ||
`clock_read_sub_group` functions to be present. | ||
|
||
Support for sub-groups is required for the `clock_read_sub_group` and | ||
`clock_read_hilo_sub_group` functions to be present. | ||
|
||
// The 'New ...' section can be auto-generated | ||
|
||
=== New Types | ||
|
||
* {cl_device_kernel_clock_capabilities_khr_TYPE} | ||
|
||
=== New Enums | ||
|
||
* {cl_device_info_TYPE} | ||
** {CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR} | ||
* {cl_device_kernel_clock_capabilities_khr_TYPE} | ||
** {CL_DEVICE_KERNEL_CLOCK_SCOPE_DEVICE_KHR} | ||
** {CL_DEVICE_KERNEL_CLOCK_SCOPE_WORK_GROUP_KHR} | ||
** {CL_DEVICE_KERNEL_CLOCK_SCOPE_SUB_GROUP_KHR} | ||
|
||
=== Version History | ||
|
||
* Revision 0.9.0, 2024-03-25 | ||
** First assigned version (provisional). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright 2017-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_khr_spirv_extended_debug_info.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2020-04-21 | ||
*IP Status*:: | ||
No known IP claims. | ||
*Contributors*:: | ||
TBD | ||
|
||
=== Description | ||
|
||
`cl_khr_spirv_extended_debug_info` allows use of the SPIR-V | ||
`OpenCL.DebugInfo.100` extended instruction set. | ||
|
||
See the | ||
link:{OpenCLEnvSpecURL}#_cl_khr_spirv_extended_debug_info[cl_khr_spirv_extended_debug_info] | ||
section of the OpenCL SPIR-V Environment specification for more information. | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2020-04-21 | ||
** First assigned version. |
Oops, something went wrong.