C++ gpu-computing

Open-source C++ projects categorized as gpu-computing

Top 19 C++ gpu-computing Projects

  • kompute

    General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.

    Project mention: I'm Having Trouble Building this Library... | /r/cmake | 2022-12-31

    I look in an example and see similar instructions, stating that the build should be quite simple. But again, it doesn't work. It generates a bunch of folders with Visual Studio stuff, but no executables, no libraries, or anything like that.

  • stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  • Sonar

    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.

  • MatX

    An efficient C++17 GPU numerical computing library with Python-like syntax

    Project mention: Blaze: High Performance Mathematics In C++ | news.ycombinator.com | 2023-01-16

    For GPU support take a look at our library:


    If anything is missing we're happy to take feature requests.

  • OpenSYCL

    Multi-backend implementation of SYCL for CPUs and GPUs

    Project mention: AMD's HIPRT Working Its Way To Blender With ~25% Faster Rendering | /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.

  • cuda-api-wrappers

    Thin C++-flavored header-only wrappers for core CUDA APIs: Runtime, Driver, NVRTC, NVTX.

    Project mention: WezTerm is a GPU-accelerated cross-platform terminal emulator | news.ycombinator.com | 2023-03-13

    > since the underlying API's are still C/C++,

    If the use of GPUs is via CUDA, there are my https://github.com/eyalroz/cuda-api-wrappers/ which are RAII/CADRe, and therefore less unsafe. And on the Rust side - don't you need a bunch of unsafe code in the library enabling GPU support?

  • triSYCL

    Generic system-wide modern C++ for heterogeneous platforms with SYCL from Khronos Group

  • vuh

    Vulkan compute for people

    Project mention: GLSL shaders for OpenCL | /r/gpgpu | 2022-11-24

    The only one that is relatively lightweight (and doesn't have dependencies) is vuh (https://github.com/Glavnokoman/vuh) that looks unsupported.

  • InfluxDB

    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.

  • ginkgo

    Numerical linear algebra software package (by ginkgo-project)

    Project mention: AMD HIP + Cuda in same program | /r/CUDA | 2022-08-26
  • clvk

    Experimental implementation of OpenCL 3.0 on Vulkan

    Project mention: LangChain / LlamaCpp on M1 GPU (MPS)? | /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.

  • Gpufit

    GPU-accelerated Levenberg-Marquardt curve fitting in CUDA

    Project mention: Has anyone been able to get lmfit working with GPU/cuda, or know some other GPU based curve fitting library? | /r/learnpython | 2022-09-16

    There's GPUFit, but it doesn't seem as easy an flexible, and it looks like I'll have to write all my own fitting models and then recompile, which, I'll do it if I have to, but I really prefer the flexibility that lmfit provides.

  • AutoDock-GPU

    AutoDock for GPUs and other accelerators

  • beatmup

    Beatmup: image and signal processing library

  • dlprimitives

    Deep Learning Primitives and Mini-Framework for OpenCL

    Project mention: [P] OpenCL backend for PyTorch - progress works with mainstream pytorch | /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.

  • cuda_memtest

    Fork of CUDA GPU memtest :eyeglasses:

  • gpuowl

    GPU Mersenne primality test.

  • ParallelReductionsBenchmark

    Thrust, CUB, TBB, AVX2, CUDA, OpenCL, OpenMP, SyCL - all it takes to sum a lot of numbers fast!

  • OpenCL-Benchmark

    A small OpenCL benchmark program to measure peak GPU/CPU performance.

    Project mention: I have open-sourced my OpenCL-Benchmark utility | /r/OpenCL | 2023-04-30
  • ALUs

    GPU accelerated earth observation data processors

    Project mention: Updating Nvidia drivers on Pop_OS! 20.04 | /r/pop_os | 2023-01-12

    We are developing this EO data processing acceleration project - https://github.com/cgi-estonia-space/ALUs and currently the baseline is 20.04. I could mingle with docker containers for development, but it is easier to make sure that everything is working and aligned with the base platform.

  • OpenCL_Wrapper_By_PunalManalan

    Lightweight, Easy to use OpenCL Wrapper By Punal Manalan. 'OCLW_P::OpenCLWrapper' This Single line of code does Everything In a Compact And Easy to Manage Manner!. Use this code wherever and whenever you want to!

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-20.

C++ gpu-computing related posts


What are some of the best open-source gpu-computing projects in C++? This list will help you:

Project Stars
1 kompute 1,156
2 stdgpu 913
3 MatX 729
4 OpenSYCL 715
5 cuda-api-wrappers 615
6 triSYCL 415
7 vuh 326
8 ginkgo 293
9 clvk 270
10 Gpufit 265
11 AutoDock-GPU 252
12 beatmup 172
13 dlprimitives 107
14 cuda_memtest 88
15 gpuowl 83
16 ParallelReductionsBenchmark 55
17 OpenCL-Benchmark 42
18 ALUs 7
19 OpenCL_Wrapper_By_PunalManalan 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives