| // Copyright 2017-2024 The Khronos Group. This work is licensed under a |
| // Creative Commons Attribution 4.0 International License; see |
| // http://creativecommons.org/licenses/by/4.0/ |
| |
| = The OpenCL^(TM)^ Extension Specification |
| :R: pass:q,r[^(R)^] |
| Khronos{R} OpenCL Working Group |
| :data-uri: |
| :icons: font |
| :toc2: |
| // Only one TOC level for the HTML output, two TOC levels for everything else. |
| ifdef::backend-html5[:toclevels: 1] |
| ifndef::backend-html5[:toclevels: 2] |
| :max-width: 100% |
| :numbered: |
| :imagewidth: 800 |
| :fullimagewidth: width="800" |
| :source-highlighter: rouge |
| :source-language: opencl |
| :rouge-style: opencl.spec |
| :docinfo: shared-header |
| :docinfodir: config |
| :title-logo-image: image:images/OpenCL.png[top="25%",width="55%"] |
| :description: OpenCL(TM) is an open, royalty-free standard for cross-platform \ |
| parallel programming of diverse accelerators. \ |
| This document describes OpenCL extensions. |
| |
| // Various special / math symbols. This is easier to edit with than Unicode. |
| include::config/attribs.txt[] |
| |
| // Attributes that are shared by OpenCL specifications. |
| include::config/opencl.asciidoc[] |
| |
| // Formatting and links for API functions and enums. |
| include::ext/dictionary.asciidoc[] |
| |
| // External Footnotes |
| // The extension spec will have access to all API and C footnotes. |
| include::api/footnotes.asciidoc[] |
| include::c/footnotes.asciidoc[] |
| |
| <<<< |
| |
| include::copyrights.txt[] |
| |
| <<< |
| |
| include::ext/introduction.asciidoc[] |
| |
| // khr extension specifications must now be written as conditionally |
| // included markup in the OpenCL API and C Language Specifications, rather |
| // than being included here as separate documents. |
| |
| // These are SPIR-V Extensions: |
| |
| include::ext/spirv_extensions.asciidoc[] |
| |
| // Index and Appendices: |
| |
| ifdef::backend-pdf[] |
| include::ext/index.asciidoc[] |
| endif::backend-pdf[] |
| |
| include::ext/to_core_features.asciidoc[] |
| include::ext/deprecated_extensions.asciidoc[] |
| include::ext/quick_reference.asciidoc[] |