Home
last modified time | relevance | path

Searched +full:opencl +full:- +full:headers (Results 1 – 25 of 184) sorted by relevance

12345678

/external/OpenCL-Headers/
DREADME.md1 # OpenCL<sup>TM</sup> API Headers
3 This repository contains C language headers for the OpenCL API.
5 The authoritative public repository for these headers is located at:
7 https://github.com/KhronosGroup/OpenCL-Headers
14 > While the OpenCL Headers can be built and installed in isolation, it is part of the [OpenCL SDK](…
18 - The OpenCL Headers CMake package support uses CMake for its build system.
22 While the headers may just be copied as-is, this repository also contains a
23 CMake script with an install rule to allow for packaging the headers.
26 cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/chosen/install/prefix
27 cmake --build build --target install
[all …]
DCMakeLists.txt5 if(TARGET Headers)
12 …https://stackoverflow.com/questions/43379311/why-does-project-affect-cmakes-opinion-on-cmake-sizeo…
15 option(OPENCL_HEADERS_BUILD_TESTING "Enable support for OpenCL C headers testing." OFF)
16 option(OPENCL_HEADERS_BUILD_CXX_TESTS "Enable support for OpenCL C headers testing in C++ mode." ON)
23 add_library(Headers INTERFACE) target
24 add_library(OpenCL::Headers ALIAS Headers)
28 COMMAND ln -snf ${CMAKE_CURRENT_SOURCE_DIR}/CL ${CMAKE_CURRENT_BINARY_DIR}/CL
29 COMMAND ln -snf ${CMAKE_CURRENT_SOURCE_DIR}/CL ${CMAKE_CURRENT_BINARY_DIR}/OpenCL
31 target_include_directories(Headers
39 COMMAND ln -snf CL ${CMAKE_INSTALL_FULL_INCLUDEDIR}/OpenCL
[all …]
DMETADATA1 name: "OpenCL-Headers"
3 "OpenCL Headers"
6 homepage: "https://github.com/KhronosGroup/OpenCL-Headers"
9 value: "https://github.com/KhronosGroup/OpenCL-Headers"
Dconanfile.py6 name = "opencl-headers"
8 license = "Apache-2.0"
10 url = "https://github.com/KhronosGroup/OpenCL-ICD-Loader"
11 description = "Khronos OpenCL Headers"
12 topics = ("khronos", "opencl", "headers")
/external/OpenCL-CLHPP/
DREADME.md1 # OpenCL<sup>TM</sup> API C++ bindings
5 http://khronosgroup.github.io/OpenCL-CLHPP/
9 * `include/CL/opencl.hpp`:
11 versions of OpenCL (including 1.x). This is what most users will want.
14 Includes `opencl.hpp` and emits a warning, for backwards compability.
17 Doxygen file used to generate HTML documentation for `opencl.hpp`.
25 [CMock top-of-tree from Github](https://github.com/ThrowTheSwitch/CMock),
35 > While the C++ Headers can be built and installed in isolation, it is part of the [OpenCL SDK](htt…
39 The C++ Headers require:
41 - the [OpenCL Headers](https://github.com/KhronosGroup/OpenCL-Headers/).
[all …]
DCMakeLists.txt6 …https://stackoverflow.com/questions/43379311/why-does-project-affect-cmakes-opinion-on-cmake-sizeo…
15 option(OPENCL_CLHPP_BUILD_TESTING "Enable support for OpenCL C++ headers testing." OFF)
19 # Legacy helper variables, see later at finding headers and ICD Loader
20 set(OPENCL_DIST_DIR "" CACHE PATH "OpenCL source dir (legacy helper var)")
21 set(OPENCL_LIB_DIR "${OPENCL_DIST_DIR}/lib" CACHE PATH "OpenCL library dir (legacy helper var)" )
22 set(OPENCL_INCLUDE_DIR "${OPENCL_DIST_DIR}/include" CACHE PATH "OpenCL source dir (legacy helper va…
23 # Helper vars with names consistent with OpenCL-ICD-Loader's OPENCL_ICD_LOADER_HEADERS_DIR
25 set(OPENCL_CLHPP_HEADERS_DIR "${OPENCL_INCLUDE_DIR}" CACHE PATH "OpenCL headers dir")
26 set(OPENCL_CLHPP_LOADER_DIR "${OPENCL_LIB_DIR}" CACHE PATH "OpenCL library dir")
29 add_library(OpenCL::HeadersCpp ALIAS HeadersCpp)
[all …]
/external/OpenCL-CLHPP/.github/workflows/
Dlinux.yml6 …g:${{ github.workspace }}/external/OpenCL-Headers/install/share/pkgconfig:${{ github.workspace }}/…
9 cmake-minimum:
10 runs-on: ${{ matrix.OS }}
11 container: streamhpc/opencl-sdk-base:ubuntu-18.04-20220127
14 OS: [ubuntu-20.04]
15 VER: [7] # gcc-8, clang-8, clang-10
20 BIN: [64] # Temporarily disable cross-compilation (will need toolchain files)
26OpenCL-CLHPP/OpenCL-CLHPP/install/share/pkgconfig:/__w/OpenCL-CLHPP/OpenCL-CLHPP/external/OpenCL-H…
30 - name: Checkout OpenCL-CLHPP
35 - name: Checkout OpenCL-Headers
[all …]
Dmacos.yml6 …g:${{ github.workspace }}/external/OpenCL-Headers/install/share/pkgconfig:${{ github.workspace }}/…
9 macos-gcc:
10 #runs-on: macos-latest
11 runs-on: macos-11 # temporary, macos-latest only supports gcc-12
16 GEN: [Xcode, Ninja Multi-Config]
20 - name: Checkout OpenCL-CLHPP
25 - name: Checkout OpenCL-Headers
28 repository: KhronosGroup/OpenCL-Headers
29 path: external/OpenCL-Headers
31 - name: Checkout OpenCL-ICD-Loader
[all …]
Dwindows.yml7 runs-on: windows-2022
12 GEN: [Visual Studio 17 2022, Ninja Multi-Config]
17 …ub.com/Kitware/CMake/releases/download/v${{matrix.CMAKE}}/cmake-${{matrix.CMAKE}}-windows-x86_64.z…
20 NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
24 - name: Checkout OpenCL-CLHPP
29 - name: Checkout OpenCL-Headers
32 repository: KhronosGroup/OpenCL-Headers
33 path: external/OpenCL-Headers
35 - name: Checkout OpenCL-ICD-Loader
38 repository: KhronosGroup/OpenCL-ICD-Loader
[all …]
/external/clang/test/Headers/
Dopencl-c-header.cl1 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
2 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
3 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
4 …c1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -fblocks -
5 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
6 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
7 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
8 …1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -fblocks
9 // RUN: %clang_cc1 -triple amdgcn-unknown-amdhsa -internal-isystem ../../lib/Headers -include openc…
10 // RUN: %clang_cc1 -triple amdgcn-unknown-amdhsa -internal-isystem ../../lib/Headers -include openc…
[all …]
/external/mesa3d/bin/
Dkhronos-update.py11 def error(msg: str) -> None:
20 def sync(self) -> None:
31 # Gitiles returns base64-encoded strings.
50 …Source('include/KHR/khrplatform.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
58 …Source('src/egl/generate/egl.xml', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
59 …Source('include/EGL/egl.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
60 …Source('include/EGL/eglplatform.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
61 …Source('include/EGL/eglext.h', 'https://github.com/KhronosGroup/EGL-Registry/raw/main/api/…
71 …Source('src/mapi/glapi/registry/gl.xml', 'https://github.com/KhronosGroup/OpenGL-Registry/raw/main…
72 …Source('include/GL/glcorearb.h', 'https://github.com/KhronosGroup/OpenGL-Registry/raw/main…
[all …]
/external/OpenCL-Headers/scripts/
DREADME.md1 # OpenCL Header Code Generation
5 …and enable faster development in the OpenCL headers, the OpenCL headers for extensions are generat…
6 …rently, header generation is only enabled for the OpenCL headers for extensions, and the OpenCL he…
10 The OpenCL headers are generated using Python [Mako Templates](https://www.makotemplates.org/).
26 ## Generating Headers
28 The script to generate headers requires the `cl.xml` machine readable grammar.
29 …sion of `cl.xml` may be found in the Khronos OpenCL-Docs repo [here](https://github.com/KhronosGro…
31 The easiest way to generate new headers is by using the `headers_generate` target.
32 For example, from a directory used to build the headers, simply execute:
35 $ cmake --build . --target headers_generate
[all …]
/external/OpenCL-CLHPP/tests/
DCMakeLists.txt1 set(OPENCL_HEADERS_INCLUDE_DIR_GENEXPR $<TARGET_PROPERTY:OpenCL::Headers,INTERFACE_INCLUDE_DIRECTOR…
8 # The generated mocks\Mockcl.h include the OpenCL headers as
17 # $<TARGET_PROPERTY:Headers,INTERFACE_INCLUDE_DIRECTORIES> (invisbly via linking to OpenCL::Headers)
18 # $<TARGET_PROPERTY:Headers,INTERFACE_INCLUDE_DIRECTORIES>/CL
22 # Bug ticket: https://gitlab.kitware.com/cmake/cmake/-/issues/22735
24 # ticket closed with by-design. We should find a way to fix the Mock tests to not consume the publi…
26 get_target_property(OPENCL_HEADERS_INTERFACE_INCLUDE_DIRECTORIES OpenCL::Headers INTERFACE_INCLUDE_…
29 …# When building OpenCL::Headers is part of this build (OpenCL-SDK), we have a property like for eg.
30 # $<BUILD_INTERFACE:C:/OpenCL-SDK/external/OpenCL-Headers>;$<INSTALL_INTERFACE:include>
32 # When OpenCL::Headers is consumed through a Package Config file (OpenCL-CLHPP), this property
[all …]
/external/angle/include/CL/
DREADME.md1 # ANGLE OpenCL Headers
3 The OpenCL headers ANGLE uses are the original headers from Khronos.
5 ### Updating headers
7 1. Clone [https://github.com/KhronosGroup/OpenCL-Headers.git](https://github.com/KhronosGroup/OpenC…
8 1. Inspect the differences between all headers from `OpenCL-Headers/CL/` and this folder.
11 1. Copy all headers from `OpenCL-Headers/CL/` over to this folder.
/external/OpenCL-CTS/
DREADME.md1 # OpenCL Conformance Test Suite (CTS)
3 This is the OpenCL CTS for all versions of the Khronos
4 [OpenCL](https://www.khronos.org/opencl/) standard.
9 GitHub Actions CI builds against Ubuntu 20.04, Windows-latest, and
10 macos-latest.
15 [OpenCL-Headers](https://github.com/KhronosGroup/OpenCL-Headers).
16 * `CL_LIB_DIR` Directory containing the OpenCL library to build against.
17 * `OPENCL_LIBRARIES` Name of the OpenCL library to link.
19 It is advised that the [OpenCL ICD-Loader](https://github.com/KhronosGroup/OpenCL-ICD-Loader)
20 is used as the OpenCL library to build against. Where `CL_LIB_DIR` points to a
[all …]
Dreadme-spir-v-binaries.txt1 To run the conformance tests you need SPIR-V binaries.
7 https://cvs.khronos.org/svn/repos/OpenCL/trunk/Khronos/spirv/spirv10_2015.11.25.zip
12 1. SPIRV-LLVM
13 LLVM with support for SPIR-V (required by clang compiler)
14 Repository: https://gitlab.khronos.org/opencl/SPIRV-LLVM
16 Notes: spirv-3.6.1 is a main branch with support for OpenCL C++ kernel language,
20 Clang with support for OpenCL C++ kernel language
21 Repository: https://gitlab.khronos.org/opencl/clang
23 Notes: spirv-1.1 is a main branch with support for OpenCL C++ kernel language,
27 OpenCL C++ Standard Library
[all …]
Dpresubmit.sh3 set -e
7 …aro.org/components/toolchain/binaries/7.5-2019.12/arm-linux-gnueabihf/gcc-linaro-7.5.0-2019.12-x86…
8 …ro.org/components/toolchain/binaries/7.5-2019.12/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-x86_64…
10 TOOLCHAIN_PREFIX_arm=arm-linux-gnueabihf
11 TOOLCHAIN_PREFIX_aarch64=aarch64-linux-gnu
18 cmake --version
36 echo "SET(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)" >> ${TOOLCHAIN_FILE}
37 echo "SET(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)" >> ${TOOLCHAIN_FILE}
53 #Vulkan Headers
54 git clone https://github.com/KhronosGroup/Vulkan-Headers.git
[all …]
/external/angle/third_party/spirv-headers/src/
DREADME.md1 # SPIR-V Headers
3 This repository contains machine-readable files for the
4 [SPIR-V Registry](https://www.khronos.org/registry/spir-v/).
8 * JSON files describing the grammar for the SPIR-V core instruction set
11 * A tool to build the headers from the JSON grammar.
13 Headers are provided in the [include](include) directory, with up-to-date
14 headers in the `unified1` subdirectory. Older headers are provided according to
18 not tied to SPIR-V specification versions.
22 When a new version or revision of the SPIR-V specification is published,
23 the SPIR-V Working Group will push new commits onto master, updating
[all …]
/external/swiftshader/third_party/SPIRV-Headers/
DREADME.md1 # SPIR-V Headers
3 This repository contains machine-readable files for the
4 [SPIR-V Registry](https://www.khronos.org/registry/spir-v/).
8 * JSON files describing the grammar for the SPIR-V core instruction set
11 * A tool to build the headers from the JSON grammar.
13 Headers are provided in the [include](include) directory, with up-to-date
14 headers in the `unified1` subdirectory. Older headers are provided according to
18 not tied to SPIR-V specification versions.
22 When a new version or revision of the SPIR-V specification is published,
23 the SPIR-V Working Group will push new commits onto master, updating
[all …]
/external/deqp-deps/SPIRV-Headers/
DREADME.md1 # SPIR-V Headers
3 This repository contains machine-readable files for the
4 [SPIR-V Registry](https://www.khronos.org/registry/spir-v/).
8 * JSON files describing the grammar for the SPIR-V core instruction set
11 * A tool to build the headers from the JSON grammar.
13 Headers are provided in the [include](include) directory, with up-to-date
14 headers in the `unified1` subdirectory. Older headers are provided according to
18 not tied to SPIR-V specification versions.
22 When a new version or revision of the SPIR-V specification is published,
23 the SPIR-V Working Group will push new commits onto master, updating
[all …]
/external/ComputeLibrary/docs/
DComputeLibrary.dir3 // SPDX-License-Identifier: MIT
15 * @brief All the arm_compute headers.
23 * @brief OpenCL backend core: kernels and utilities.
27 …* @brief Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenC…
30 /** @file arm_compute/core/CL/OpenCL.h
31 * @brief Wrapper to configure the Khronos OpenCL C++ header
79 * @brief OpenCL specific operations
107 * @brief Includes all the Graph headers at once.
115 * @brief OpenCL backend runtime interface.
119 * @brief Includes all the OpenCL functions at once
[all …]
/external/OpenCL-Headers/tests/
DREADME.md1 OpenCL-Headers/tests README
9 The various tests ending in .h.c are there to verify that the various OpenCL
10 headers can compile stand alone. That is to ensure that they may be used a la
12 of OpenCL (e.g. cl/gl sharing) brings in a pile of symbols (e.g. all of OpenGL)
13 that collides with other headers needed by the application. It is also poor form
14 to require headers to be included in a particular order, especially if multiple
18 We also check to make sure that the headers don't cause spurious warnings. These
/external/tensorflow/third_party/opencl_headers/
Dworkspace.bzl1 """Loads OpenCL-Headers, used by TF Lite."""
9 strip_prefix = "OpenCL-Headers-dcd5bede6859d26833cd85f0d6bbcee7382dc9b3",
11 …urls = tf_mirror_urls("https://github.com/KhronosGroup/OpenCL-Headers/archive/dcd5bede6859d26833cd…
/external/OpenCL-CTS/.github/workflows/
Dpresubmit.yml7 runs-on: ${{ matrix.os }}
13 fail-fast: false
16 os: [ubuntu-22.04, macos-latest, windows-latest]
18 - os: ubuntu-22.04
22 - os: ubuntu-22.04
25 - os: ubuntu-22.04
31 - uses: actions/checkout@v3
32 - name: Setup Ninja
33 uses: seanmiddleditch/gha-setup-ninja@master
34 - name: Setup OpenGL build dependencies
[all …]
/external/ComputeLibrary/docs/user_guide/
Dintroduction.dox2 /// Copyright (c) 2017-2023 Arm Limited.
4 /// SPDX-License-Identifier: MIT
34 The Compute Library is a collection of low-level machine learning functions optimized for both Arm …
37 - OS: Linux, Android, macOS or bare metal.
38 - Architecture: armv7a (32bit) or armv8a (64bit).
39 - Technology: Arm® Neon™ / OpenCL / Arm® Neon™ and OpenCL.
40- Debug / Asserts / Release: Use a build with asserts enabled to debug your application and enable…
54 <td>gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf
57 <td rowspan="2">gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
59 <td>armv8.2-a
[all …]

12345678