Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
Top 23 C++ Gpgpu Projects
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.
Lightweight, cross-platform & full-featured shader IDEProject mention: Confused in terms of where to start with framework/technology etc. Need help picking between learning ShaderToy v/s OpenGL v/s WebGL | /r/GraphicsProgramming | 2023-06-20
If you specifically want to learn shader programming then https://shadered.org/ is a lot more practical than Shadertoy.
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs via OpenCL.Project mention: Fast and Memory efficient lattice Boltzmann CFD software, running on all GPUs | news.ycombinator.com | 2023-07-27
A C++ GPU Computing Library for OpenCL
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: [P] - VkFFT version 1.3 released - major design and functionality improvements | /r/MachineLearning | 2023-08-03
Great to see the positive momentum of this framework! Best wishes and upvotes from the Vulkan Kompute team :)
An efficient C++17 GPU numerical computing library with Python-like syntaxProject mention: An efficient C++17 GPU numerical computing library with Python-like syntax | /r/programming | 2023-10-05
stdgpu: Efficient STL-like Data Structures on the GPU
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ DriverProject mention: Intel Graphics Compute Runtime for OneAPI Level Zero and OpenCL | news.ycombinator.com | 2023-08-02
Implementation of SYCL and C++ standard parallelism 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: What Every Developer Should Know About GPU Computing | news.ycombinator.com | 2023-10-21
Sapphire Rapids is a CPU.
AMD's primary focus for a GPU software ecosystem these days seems to be implementing CUDA with s/cuda/hip, so AMD directly supports and encourages running GPU software written in CUDA on AMD GPUs.
The only implementation for sycl on AMD GPUs that I can find is a hobby project that apparently is not allowed to use either the 'hip' or 'sycl' names. https://github.com/AdaptiveCpp/AdaptiveCpp
Minimal Example of Using Vulkan for Compute Operations. Only ~400LOC.Project mention: Vulkan for Image Processing? Good choice? | /r/vulkan | 2022-12-20
VexCL is a C++ vector expression template library for OpenCL/CUDA/OpenMP
Thin C++-flavored header-only wrappers for core CUDA APIs: Runtime, Driver, NVRTC, NVTX.Project mention: VUDA: A Vulkan Implementation of CUDA | news.ycombinator.com | 2023-07-01
1. This implements the clunky C-ish API; there's also the Modern-C++ API wrappers, with automatic error checking, RAII resource control etc.; see: https://github.com/eyalroz/cuda-api-wrappers (due disclosure: I'm the author)
2. Implementing the _runtime_ API is not the right choice; it's important to implement the _driver_ API, otherwise you can't isolate contexts, dynamically add newly-compiled JIT kernels via modules etc.
3. This is less than 3000 lines of code. Wrapping all of the core CUDA APIs (driver, runtime, NVTX, JIT compilation of CUDA-C++ and of PTX) took me > 14,000 LoC.
C++ library for solving large sparse linear systems with algebraic multigrid method
Vulkan compute for people
STREAM, for lots of devices written in many programming models
Realtime GPU Path tracer based on OpenCL and OpenGL (by AlexanderVeselov)
Intercept Layer for Debugging and Analyzing OpenCL Applications
GPU Mersenne primality test.
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
Doing flocking/Boids in UE4 using GPGPU
Thrust, CUB, TBB, AVX2, CUDA, OpenCL, OpenMP, SyCL - all it takes to sum a lot of numbers fast!
Runs a single CUDA/OpenCL kernel, taking its source from a file and arguments from the command-lineProject mention: How Jensen Huang's Nvidia Is Powering the A.I. Revolution | news.ycombinator.com | 2023-11-29
> but all the alternatives require significant redesign in languages and tools people are unfamiliar with and we can't afford that overhead
Where I work, we've made it a principle to stay OpenCL-compatible even while going with NVIDIA due to their better-performing GPUs. I even go as far as writing kernels that can be compiled as either CUDA C++ or OpenCL-C, with a bit of duct-tape adapter headers:
of course, if you're working with higher-level frameworks then it's more difficult, and you depend on whether or not they provided different backends. So, no thrust for AMD GPUs, for example, but pytorch and TensorFlow do let you use them.
A modern, high-performance C++17 graphics and compute library based on VulkanProject mention: Tephra: A high-level graphics and compute library based on Vulkan | /r/vulkan | 2023-07-24
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Gpgpu related posts
An efficient C++17 GPU numerical computing library with Python-like syntax
1 project | /r/programming | 5 Oct 2023
MatX: Efficient C++17 GPU numerical computing library with Python-like syntax
1 project | /r/patient_hackernews | 5 Oct 2023
Offloading standard C++ PSTL to Intel, NVIDIA and AMD GPUs with AdaptiveCpp
1 project | /r/cpp | 24 Sep 2023
Intel Graphics Compute Runtime for OneAPI Level Zero and OpenCL
1 project | news.ycombinator.com | 2 Aug 2023
Alder Lake HDR tone mapping
1 project | /r/PleX | 6 Jul 2023
Can anyone with Arc750 or 770 try this FMA benchmark written with OpenCL? I want to compare gigaflops.
1 project | /r/IntelArc | 23 Jun 2023
rocm-opencl (rocm-opencl-runtime) rx 6600 xt support
3 projects | /r/Fedora | 3 Jun 2023
A note from our sponsor - Onboard AI
getonboard.dev | 3 Dec 2023
What are some of the best open-source Gpgpu projects in C++? This list will help you: