Lines Matching full:opencl
1 # 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.
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
21 build of the ICD loader and `OPENCL_LIBRARIES` is "OpenCL".
29 git clone https://github.com/KhronosGroup/OpenCL-CTS.git
30 git clone https://github.com/KhronosGroup/OpenCL-Headers.git
31 git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
33 mkdir OpenCL-ICD-Loader/build
34 cmake -S OpenCL-ICD-Loader -B OpenCL-ICD-Loader/build \
35 -DOPENCL_ICD_LOADER_HEADERS_DIR=$PWD/OpenCL-Headers
36 cmake --build ./OpenCL-ICD-Loader/build --config Release
38 mkdir OpenCL-CTS/build
39 cmake -S OpenCL-CTS -B OpenCL-CTS/build \
40 -DCL_INCLUDE_DIR=$PWD/OpenCL-Headers \
41 -DCL_LIB_DIR=$PWD/OpenCL-ICD-Loader/build \
42 -DOPENCL_LIBRARIES=OpenCL
43 cmake --build OpenCL-CTS/build --config Release
55 If the OpenCL library built against is the ICD Loader, and the vendor library to
57 [default ICD Loader location](https://github.com/KhronosGroup/OpenCL-ICD-Loader#registering-icds)
58 then the [OCL_ICD_FILENAMES](https://github.com/KhronosGroup/OpenCL-ICD-Loader#table-of-debug-envir…
59 environment variable will need to be set for the ICD Loader to detect the OpenCL
69 Testing OpenCL drivers which do not have a runtime compiler can be done by using
73 * `--compilation-mode` Selects if OpenCL-C source code should be compiled using
74 an external tool before being passed on to the OpenCL driver in that form for
78 * `--compilation-cache-mode` Controls how the compiled OpenCL-C source code
86 compilation of OpenCL-C source code. This executable must match the
101 Git [tags](https://github.com/KhronosGroup/OpenCL-CTS/tags) are used to define