We just released a demo app of fractals rendering. We hybridizer the same C# code in various flavors.
Hybridizer Essentials is out!
We’re proud to announce the release of Hybridizer Essentials, a free Visual Studio extension.
Hybridizer Essentials is a Visual Studio extension providing a full-featured Hybridizer for C#/CUDA. It allows you to write C# code, keeping focus on business logic, and letting Hybridizer generate the appropriate binary to run on the GPU.
We also released a SDK on our public github. This SDK provides examples of code, ranging from simple hello world to a more complex generic heat equation solver using MonteCarlo.
Generics
Hybridizer supports C# generics (for a long time). However, managed generics are resolved at runtime, introducing a significant performance penalty.
Hybridizer map them to C++ templates (which are resolved at compile time), therefore dramatically improving performance.
This blog post gives an example of generic code on a quite fun mathematical example.
System.Numerics.Vector and the Hybridizer
System.Numerics.Vector is a library provided by .Net (as a nuget package), which tries to leverage SIMD instruction on target hardware. It exposes a few value types, such as Vector<T>
, which are recognized by RyuJIT as intrinsics. Hybridizer however delivers full SIMD instructions potential without the burden of writing vector code.