zlacker

[return to "How to Use AVX512 in Golang"]
1. neonsu+qo6[view] [source] 2023-01-23 15:25:18
>>signa1+(OP)
Upcoming .NET 8 will get native support for Vector512 (AVX512) in runtime, and you can write platform-independent code today with Vector<T> for length-agnostic algorithms that will automatically take advantage of it. No need to ever write assembly, or some other special syntax - just pure C#.
◧◩
2. Kon-Pe+pK6[view] [source] 2023-01-23 16:45:02
>>neonsu+qo6
That is fantastic. Swift in the Mac has something similar thanks to the Accelerate framework. What I’ve seen, however, is that if you are targeting a very specific platform (for example, the M1 family), you get better performance by directly using the intrinsics supported by that platform. In the real world, you are unlikely to actually have such a specific target, so this may not be so important.

I look forward to seeing some benchmarks with .NET - Microsoft needs to support a pretty wide variety of platforms. It will be interesting to see if their implementation is better!

[go to top]