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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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