ComputeSharp is a .NET library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders. The available APIs let you access GPU devices, allocate GPU buffers and textures, move data between them and the RAM, write compute shaders entirely in C# and have them run on the GPU. The goal of this project is to make GPU computing easy to use for all .NET developers! You can use this library to create all sorts of things from scientific simulations, to animated backgrounds, audio visualizers and more! The sample app is available in the Microsoft Store, showcasing several pixel shaders all powered by ComputeSharp! In order to also build and run all UWP and WinUI 3 projects, these components need to be installed, UWP development workload, Windows 10 SDKs 17763 and 19041, and Windows App SDK extension for VS2022.

Features

  • The sample app is available in the Microsoft Store
  • Compiled shaders support
  • Extension for ComputeSharp, enabling dynamic shader compilation at runtime and shader metaprogramming
  • UWP library (targeting .NET Standard 2.0) with controls to render DX12 shaders powered by ComputeSharp
  • WinUI 3 library (targeting .NET 6) with controls to render DX12 shaders powered by ComputeSharp
  • A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ComputeSharp

ComputeSharp Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ComputeSharp!

Additional Project Details

Operating Systems

Windows

Programming Language

C#

Related Categories

C# Software Development Software, C# Libraries

Registered

2022-06-09