-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin integration of EXT extensions into the unified specification
- Add a khr+ext spec type to makeSpec and cover in CI - Document the version and dependencies of all EXT extensions in the XML - Integrate cl_ext_cxx_for_opencl into the unified specification - Add placeholder descriptions for all EXT extensions linking to either core/KHR features that supersede old extensions that were never part of the specification or the OpenCL Extensions document. This enables us to integrate EXT extensions incrementally and integrate future EXT extensions directly into the unified specification. Change-Id: Ic634ce000ad3ebfb56e56bce91f9c0de3e786383 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
- Loading branch information
Showing
15 changed files
with
241 additions
and
165 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
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,59 @@ | ||
// Copyright 2018-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_cxx_for_opencl.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2020-08-25 | ||
*IP Status*:: | ||
No known IP claims. | ||
*Contributors*:: | ||
- Kevin Petit, Arm Ltd. + | ||
- Sven Van Haastregt, Arm Ltd. + | ||
- Anastasia Stulova, Arm Ltd. + | ||
- Marco Antognini, Arm Ltd. + | ||
- Neil Hickey, Arm Ltd. + | ||
- Alastair Murray, Codeplay + | ||
|
||
=== Description | ||
|
||
This extension adds support for building programs written using the C++ for | ||
OpenCL kernel language documented in the *OpenCL-Docs* repository | ||
(https://github.com/KhronosGroup/OpenCL-Docs) | ||
with stable versions published in releases of the repository. | ||
|
||
This extension also enables applications to query the version of the language | ||
supported by the device compiler. | ||
|
||
=== New Enums | ||
|
||
* {cl_device_info_TYPE} | ||
** {CL_DEVICE_CXX_FOR_OPENCL_NUMERIC_VERSION_EXT} | ||
|
||
=== New build option | ||
|
||
This extension adds support for a new `CLC++` value to be passed to the | ||
`-cl-std` build option accepted by *clBuildProgram* and *clCompileProgram*. | ||
|
||
=== Preprocessor Macros | ||
|
||
This extension defines a new language, instead of extending an existing | ||
language. As such, there will be no preprocessor `#define` matching the | ||
extension name string. Instead, dedicated preprocessor macros conveying | ||
language version information are available as described in the C++ for | ||
OpenCL Programming Language Documentation, section 2.2.2.2 "Predefined | ||
macros". | ||
|
||
=== Conformance tests | ||
|
||
. Test that a program can successfully be compiled with `-cl-std=CLC++`. | ||
. Test with a program compiled with `-cl-std=CLC++` that the value of the | ||
+__OPENCL_CPP_VERSION__+ macro agrees with the version returned by | ||
`CL_DEVICE_CXX_FOR_OPENCL_NUMERIC_VERSION_EXT`. | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2020-08-24 | ||
** Initial version. |
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,20 @@ | ||
// Copyright 2018-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_device_fission.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2024-07-17 | ||
*IP Status*:: | ||
No known IP claims. | ||
|
||
=== Description | ||
|
||
Precursor to the functionality described in <<platform-device-partitioning>>. | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2024-07-17 | ||
** First version. |
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,20 @@ | ||
// Copyright 2018-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_float_atomics.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2020-08-12 | ||
*IP Status*:: | ||
No known IP claims. | ||
|
||
=== Description | ||
|
||
This extension is described in the OpenCL Extensions document. | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2020-08-12 | ||
** First version. |
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,20 @@ | ||
// Copyright 2018-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_image_from_buffer.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2022-01-25 | ||
*IP Status*:: | ||
No known IP claims. | ||
|
||
=== Description | ||
|
||
This extension is described in the OpenCL Extensions document. | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2022-01-25 | ||
** First version. |
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,20 @@ | ||
// Copyright 2018-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_image_raw10_raw12.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2023-05-03 | ||
*IP Status*:: | ||
No known IP claims. | ||
|
||
=== Description | ||
|
||
This extension is described in the OpenCL Extensions document. | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2023-05-03 | ||
** First version. |
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,20 @@ | ||
// Copyright 2018-2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_image_requirements_info.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2022-01-18 | ||
*IP Status*:: | ||
No known IP claims. | ||
|
||
=== Description | ||
|
||
This extension is described in the OpenCL Extensions document. | ||
|
||
=== Version History | ||
|
||
* Revision 0.5.0, 2022-01-18 | ||
** First version. |
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,35 @@ | ||
// Copyright 2024 The Khronos Group Inc. | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}cl_ext_migrate_memobject.txt[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2024-07-17 | ||
*IP Status*:: | ||
No known IP claims. | ||
|
||
=== Description | ||
|
||
Precursor to {clEnqueueMigrateMemObjects}. | ||
|
||
=== New Commands | ||
|
||
* {clEnqueueMigrateMemObjectEXT} | ||
|
||
=== New Types | ||
|
||
* {cl_mem_migration_flags_ext_TYPE} | ||
|
||
=== New Enums | ||
|
||
* {cl_mem_migration_flags_ext_TYPE} | ||
** {CL_MIGRATE_MEM_OBJECT_HOST_EXT} | ||
* {cl_command_type_TYPE} | ||
** {CL_COMMAND_MIGRATE_MEM_OBJECT_EXT} | ||
|
||
=== Version History | ||
|
||
* Revision 1.0.0, 2024-07-17 | ||
** Initial version. |
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
Oops, something went wrong.