Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push. Learn more →
Top 23 C++ Opencl Projects
MACE is a deep learning inference framework optimized for mobile heterogeneous computing platforms.Project mention: What’s New in TensorFlow 2.10? | news.ycombinator.com | 2022-09-06
ArrayFire: a general purpose GPU library.Project mention: Learn WebGPU | news.ycombinator.com | 2023-04-27
Loads of people have stated why easy GPU interfaces are difficult to create, but we solve many difficult things all the time.
Ultimately I think CPUs are just satisfactory for the vast vast majority of workloads. Servers rarely come with any GPUs to speak of. The ecosystem around GPUs is unattractive. CPUs have SIMD instructions that can help. There are so many reasons not to use GPUs. By the time anyone seriously considers using GPUs they're, in my imagination, typically seriously starved for performance, and looking to control as much of the execution details as possible. GPU programmers don't want an automagic solution.
So I think the demand for easy GPU interfaces is just very weak, and therefore no effort has taken off. The amount of work needed to make it as easy to use as CPUs is massive, and the only reason anyone would even attempt to take this on is to lock you in to expensive hardware (see CUDA).
For a practical suggestion, have you taken a look at https://arrayfire.com/ ? It can run on both CUDA and OpenCL, and it has C++, Rust and Python bindings.
TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
oneAPI Deep Neural Network Library (oneDNN)Project mention: Arc & Deep Learning Frameworks | reddit.com/r/intel | 2022-10-06
For completeness, it looks like this question was posted to the oneDNN GitHub repo and the response was to stay tune for updates.
A C++ GPU Computing Library for OpenCL
Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ DriverProject mention: Vladmandic Stable Diffusion added Intel ARC GPU support on Linux | reddit.com/r/IntelArc | 2023-05-01
Update: I was able to fix my issue. I'm using Ubuntu 22.04.2 LTS and have the newest available kernel, 6.3.1. Installing the drivers via apt does not work, instead I needed to use https://github.com/intel/compute-runtime/releases/
OpenCL implementation running on the VideoCore IV GPU of the Raspberry Pi modelsProject mention: Raspberry Pi Zero 2 for image processing. | reddit.com/r/raspberry_pi | 2023-02-17
The Zero 2 still uses VideoCore IV for which we have the documentation and various projects making use of it. There is a open source Mesa driver and also OpenCL support: https://github.com/doe300/VC4CL
Multi-backend implementation of SYCL for CPUs and GPUsProject mention: AMD's HIPRT Working Its Way To Blender With ~25% Faster Rendering | reddit.com/r/Amd | 2023-03-24
In fact SYCL was initially called hipSYCL because it is based on AMD's ROCm/HIP. AMD had hipSYCL code running on the Frontier supercomputer four years ago at least and continues to support it.
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
VexCL is a C++ vector expression template library for OpenCL/CUDA/OpenMP
C++ library for solving large sparse linear systems with algebraic multigrid method
Generic system-wide modern C++ for heterogeneous platforms with SYCL from Khronos Group
Monero AMD (OpenCL) miner
Experimental implementation of OpenCL 3.0 on VulkanProject mention: LangChain / LlamaCpp on M1 GPU (MPS)? | reddit.com/r/LangChain | 2023-05-20
I tried very similar thing. My purpose was to run llama-cpp-python with CLBlast GPU acceleration via clvk on VulkanSDK on my M1 Max computer. I downloaded VulkanSDK for macOS, cloned clvk(https://github.com/kpet/clvk) and CLBlast. Build was successful but there is a problem; when clCreateCommandQueue function was called with CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE option(in ggml-opencl.c of llama.cpp) , an error was happened and I do not know how to handle it.
Intercept Layer for Debugging and Analyzing OpenCL ApplicationsProject mention: OpenCL 3.0.12 Released With Command Buffers Mutable Dispatch Extension and Enhanced Layers Support | reddit.com/r/OpenCL | 2022-09-22
AutoDock for GPUs and other accelerators
STREAM, for lots of devices written in many programming modelsProject mention: Fortran on GPU | reddit.com/r/fortran | 2022-10-21
I wrote the Fortran version of BabelStream (https://github.com/UoB-HPC/BabelStream/pull/135) to compare all of these, which might be useful as well. There is also MiniWeather, which supports all OpenMP, OpenACC and StdPar for GPU: https://github.com/mrnorman/miniWeather/tree/main/fortran.
A GPU benchmark tool for evaluating GPUs and CPUs on mixed operational intensity kernels (CUDA, OpenCL, HIP, SYCL, OpenMP)
Realtime GPU Path tracer based on OpenCL and OpenGL (by AlexanderVeselov)
DLPrimitives/OpenCL out of tree backend for pytorchProject mention: Linus Tech Tips: "China doesn't want me to have this GPU [Moore Threads MTT S80]" (Linus Tech Tips Reviews the Moore Threads MTT S80 GPU) | reddit.com/r/hardware | 2023-03-12
I know PyTorch supports OpenCL nows and you can do training with it as well. See here. Never try it myself.
Deep Learning Primitives and Mini-Framework for OpenCLProject mention: [P] OpenCL backend for PyTorch - progress works with mainstream pytorch | reddit.com/r/MachineLearning | 2022-10-31
I'm working on PyTorch OpenCL backend based on dlprimitives core library. It exists for a while but until now it required building custom pytorch version.
GPU Mersenne primality test.
Library and executables for modeling and registration applications in medical image analysis. Particular emphasis on intraoperative fluoroscopic (X-ray) navigation via 2D/3D registration.
CHIP-SPV is a backend infrastructure for HIP/CUDA running on SPIR-V via OpenCL or Level Zero APIs.Project mention: In the next 5 years, what do you think can push OpenCL adoption? | reddit.com/r/OpenCL | 2023-04-27
Regarding the second item (CUDA to OpenCL), have a look at hipstar: https://github.com/CHIP-SPV/hipstar
Thrust, CUB, TBB, AVX2, CUDA, OpenCL, OpenMP, SyCL - all it takes to sum a lot of numbers fast!
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
C++ Opencl related posts
LangChain / LlamaCpp on M1 GPU (MPS)?
1 project | reddit.com/r/LangChain | 20 May 2023
Vladmandic Stable Diffusion added Intel ARC GPU support on Linux
3 projects | reddit.com/r/IntelArc | 1 May 2023
9 projects | news.ycombinator.com | 27 Apr 2023
In the next 5 years, what do you think can push OpenCL adoption?
4 projects | reddit.com/r/OpenCL | 27 Apr 2023
Intel Arc Driver Overhead - Just a Myth?
5 projects | reddit.com/r/IntelArc | 13 Apr 2023
How do you allocate more than 4GB of memory for OpenCL in A770 16GB?
5 projects | reddit.com/r/IntelArc | 7 Apr 2023
Proxmox iGPU passthrough to LXC not working
1 project | reddit.com/r/Proxmox | 26 Mar 2023
A note from our sponsor - CodiumAI
codium.ai | 31 May 2023
What are some of the best open-source Opencl projects in C++? This list will help you: