C++ Gpgpu

Open-source C++ projects categorized as Gpgpu

Top 23 C++ Gpgpu Projects

  1. FluidX3D

    The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.

  2. SaaSHub

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

    SaaSHub logo
  3. ArrayFire

    ArrayFire: a general purpose GPU library.

  4. SHADERed

    Lightweight, cross-platform & full-featured shader IDE

  5. 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: Ask HN: How to learn CUDA to professional level | news.ycombinator.com | 2025-06-08
  6. AdaptiveCpp

    Compiler for multiple programming models (SYCL, C++ standard parallelism, HIP/CUDA) for CPUs and GPUs from all vendors: The independent, community-driven compiler for C++-based heterogeneous programming models. Lets applications adapt themselves to all the hardware in the system - even at runtime!

    Project mention: AdaptiveCpp's new Metal backend to support CUDA dialect on Apple GPUs | news.ycombinator.com | 2026-02-27
  7. Boost.Compute

    A C++ GPU Computing Library for OpenCL

  8. MatX

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

  9. compute-runtime

    Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver

  10. stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  11. cuda-api-wrappers

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

    Project mention: CUDA Ontology | news.ycombinator.com | 2025-11-20

    > CUDA Runtime: The runtime library (libcudart) that applications link against.

    That library is actually a rather poor idea. If you're writing a CUDA application, I strongly recommend avoiding the "runtime API". It provides partial access to the actual CUDA driver and its API, which is 'simpler' in the sense that you don't explicitly create "contexts", but:

    * It hides or limits a lot of the functionality.

    * Its actual behavior vis-a-vis contexts is not at all simple and is likely to make your life more difficult down the road.

    * It's not some clean interface that's much more convenient to use.

    So, either go with the driver, or consider my CUDA API wrappers library [1], which _does_ offer a clean, unified, modern (well, C++11'ish) RAII/CADRe interface. And it covers much more than the runtime API, to boot: JIT compilation of CUDA (nvrtc) and PTX (nvptx_compiler), profiling (nvtx), etc.

    [1] : https://github.com/eyalroz/cuda-api-wrappers/

  12. amgcl

    C++ library for solving large sparse linear systems with algebraic multigrid method

  13. vulkan_minimal_compute

    Minimal Example of Using Vulkan for Compute Operations. Only ~400LOC.

  14. VexCL

    VexCL is a C++ vector expression template library for OpenCL/CUDA/OpenMP

  15. OpenCL-Wrapper

    OpenCL is the most powerful programming language ever created. Yet the OpenCL C++ bindings are cumbersome and the code overhead prevents many people from getting started. I created this lightweight OpenCL-Wrapper to greatly simplify OpenCL software development with C++ while keeping functionality and performance.

  16. occa

    Portable and vendor neutral framework for parallel programming on heterogeneous platforms.

  17. BabelStream

    STREAM, for lots of devices written in many programming models

  18. opencl-intercept-layer

    Intercept Layer for Debugging and Analyzing OpenCL Applications

  19. vuh

    Vulkan compute for people

  20. RayTracing

    Realtime GPU path tracer based on D3D12 and Vulkan (by AlexanderVeselov)

  21. OpenCL-Benchmark

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

  22. GPUPrefixSums

    A nearly complete collection of prefix sum algorithms implemented in CUDA, D3D12, Unity and WGPU. Theoretically portable to all wave/warp/subgroup sizes.

    Project mention: Prefix sum: 20 GB/s (2.6x baseline) | news.ycombinator.com | 2025-10-14

    Lol do you think "PTX programming" is some kind of secret source of perf? It's just inline asm. Sometimes it's necessary but most of the time "CUDA is all you need":

    https://github.com/b0nes164/GPUPrefixSums

  23. ParallelReductionsBenchmark

    Thrust, CUB, TBB, AVX2, AVX-512, CUDA, OpenCL, OpenMP, Metal, and Rust - all it takes to sum a lot of numbers fast!

    Project mention: Fork Union: Beyond OpenMP in C++ and Rust? | news.ycombinator.com | 2025-09-28

    I was asked this a few months back but don’t have the measurements fresh anymore. In general, I think TBB is one of the more thorough and feature-rich parallelism libraries out there. That said, I just found a comparable usage example in my benchmarks, and it doesn’t look like TBB will have the same low-latency profile as Fork Union: https://github.com/ashvardanian/ParallelReductionsBenchmark/...

  24. UE4_GPGPU_flocking

    Doing flocking/Boids in UE4 using GPGPU

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).

C++ Gpgpu discussion

Log in or Post with

C++ Gpgpu related posts

Index

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

# Project Stars
1 FluidX3D 5,115
2 ArrayFire 4,887
3 SHADERed 4,727
4 kompute 2,517
5 AdaptiveCpp 1,869
6 Boost.Compute 1,653
7 MatX 1,429
8 compute-runtime 1,395
9 stdgpu 1,263
10 cuda-api-wrappers 890
11 amgcl 864
12 vulkan_minimal_compute 731
13 VexCL 721
14 OpenCL-Wrapper 475
15 occa 441
16 BabelStream 363
17 opencl-intercept-layer 360
18 vuh 351
19 RayTracing 343
20 OpenCL-Benchmark 298
21 GPUPrefixSums 290
22 ParallelReductionsBenchmark 118
23 UE4_GPGPU_flocking 80

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?