Registry / other / opencl

opencl

JSON →
library2024.10.24vcpkgunverified

OpenCL SDK for heterogeneous parallel computing on CPUs, GPUs, and other processors.

vcpkg install opencl
INSTALL
IMPORT
SIG · OPENCL
O
opencl
othercppv2024.10.24
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CL/cl.h
#include <CL/cl.h>

Query number of available OpenCL platforms

#include <CL/cl.h> #include <iostream> int main() { cl_uint platformCount; clGetPlatformIDs(0, nullptr, &platformCount); std::cout << "Number of OpenCL platforms: " << platformCount << "\n"; return 0; }
Debug
Known issues
gotchaOpenCL requires a runtime (driver) from the hardware vendor; headers alone are insufficient.
fix
Ensure appropriate OpenCL runtime is installed on the target system.
affects: all
Upgrade
Version history
2024.10.24latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

opencl — pip install opencl · libregistry