.NET SIMD Vectorization

•
3.1k
•

Optimizes performance-critical .NET loops using SIMD hardware acceleration and TensorPrimitives.

This skill empowers Claude to identify and refactor hot-path scalar loops in .NET 8+ applications into highly optimized, vectorized code. It follows a strict decision hierarchy, prioritizing built-in Span methods and the TensorPrimitives API before implementing manual cross-platform Vector128, Vector256, or Vector512 intrinsics. By automating the implementation of three-tier hardware dispatch and scalar fallbacks, it ensures that your C# code achieves maximum throughput on modern CPUs while remaining portable and maintainable.

Key Features

01Cross-platform support using three-tier dispatch (512-bit, 256-bit, and 128-bit)
02Automated refactoring of scalar loops into .NET 8+ SIMD intrinsics
03Detailed analysis report when SIMD optimization is not applicable
043,148 GitHub stars
05Intelligent integration of TensorPrimitives for high-performance math
06Advanced patterns for byte-range validation and nibble-lookup counting

Use Cases

01Accelerating mathematical computations on large contiguous numeric spans
02Implementing high-performance cross-type conversions and dequantization
03Optimizing bulk data validation, character counting, and bitwise operations