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

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
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