Install this package:
emerge -a dev-util/opencl-headers
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-util/opencl-headers
Or alternatively:
emerge --autounmask-write -a dev-util/opencl-headers
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2025.07.22 | 8 | ~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86 | 0 |
| 2024.10.24 | 8 | amd64 arm64 ~loong ppc64 ~riscv x86 | 0 |
<pkgmetadata> <longdescription lang="en"> The OpenCL API headers in this package are unified headers and are designed to work with all released OpenCL versions. This differs from previous OpenCL API headers, where version-specific API headers either existed in separate branches, or in separate folders in a branch. By default, the OpenCL API headers in this repository are for the latest OpenCL version supported. To use these API headers to target a different OpenCL version, an application may #define the preprocessor value CL_TARGET_OPENCL_VERSION before including the OpenCL API headers. The CL_TARGET_OPENCL_VERSION is a three digit decimal value representing the OpenCL API version. </longdescription> <upstream> <remote-id type="github">KhronosGroup/OpenCL-Headers</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-util/opencl-headers |
euse -E <flag> -p dev-util/opencl-headers |
euse -D <flag> -p dev-util/opencl-headers
| Flag | Description | 2025.07.22 | 2024.10.24 |
|---|---|---|---|
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | opencl-headers-2024.10.24.tar.gz | 85151 bytes | 2024.10.24 |
| DIST | opencl-headers-2025.07.22.tar.gz | 86771 bytes | 2025.07.22 |
| Type | File | Size |
|---|