{"id":73394,"library":"opencl3","title":"OpenCL3","description":"A Rust implementation of the Khronos OpenCL 3.0 API and extensions.","status":"active","version":"0.12.3","language":"rust","source_language":null,"source_url":"https://github.com/kenba/opencl3","tags":["opencl","gpgpu","compute","parallel"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nopencl3 = \"0.12.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add opencl3","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Context","correct":"use opencl3::Context;"}],"quickstart":{"code":"use opencl3::Context;\n\nfn main() {\n    let platform = opencl3::platform::get_platforms().unwrap().remove(0);\n    let devices = opencl3::device::get_all_devices(&platform).unwrap();\n    let context = Context::from_device(&devices[0]).unwrap();\n    println!(\"OpenCL context created\");\n}","lang":"rust","description":"Creates an OpenCL context from the first available device."},"warnings":[{"fix":"Install OpenCL drivers for your GPU or CPU.","message":"Requires OpenCL runtime and drivers installed.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'3.0':9 'api':10 'comput':15 'extens':12 'gpgpu':14 'implement':4 'khrono':7 'opencl':8,13 'opencl3':1 'parallel':16 'rust':3","created_at":"2026-06-17T18:50:33.432179+00:00","updated_at":"2026-06-17T18:50:33.432179+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/kenba/opencl3","github":"https://github.com/kenba/opencl3","docs":"https://docs.rs/opencl3/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}