7 个仓库
Libraries for hardware-accelerated SIMD operations.
Explore 7 awesome GitHub repositories matching part of an awesome list · SIMD Optimization. Refine with filters or upvote what's useful.
Gorgonia is a Go library that provides an automatic differentiation engine and a computation graph framework for building and training neural networks. It functions as a CUDA-accelerated tensor library and a SIMD-optimized math library, enabling machine learning workflows entirely within the Go ecosystem. The library distinguishes itself through a dual-backend architecture that dispatches neural network operations to either a GPU or CPU depending on CUDA availability at runtime. It constructs differentiable directed acyclic graphs of tensor operations, supports reverse-mode automatic gradient
Uses platform-specific SIMD instructions on amd64 CPUs to accelerate vector and matrix operations.
c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte
Passes vectors as arrays in function calls to maintain binary compatibility with C libraries.
perf-ninja is a collection of educational resources and curricula focused on CPU architecture, memory hierarchies, SIMD programming, and low-level performance engineering. It provides instructional material and practical labs for identifying and fixing CPU bottlenecks, such as cache misses and branch mispredictions. The project differentiates itself through specialized training in hardware-level optimizations, including the use of compiler intrinsics for SIMD vectorization and the implementation of branchless predicate execution to eliminate pipeline stalls. It also covers advanced binary-lev
Handles divergent loop iterations when processing independent data elements, such as pixels, in a SIMD fashion.
Implementations of SIMD instruction sets for systems which don't natively support them.
Cross-platform SIMD instruction set implementations.
Portable header-only C++ low level SIMD library
Low-level SIMD abstraction library.
该库提供了一组用于 Curve25519 和 Ristretto 群操作的底层数学原语。它作为构建安全加密协议的基础,提供椭圆曲线算术、密钥交换和数字签名生成的工具。 该实现通过在所有操作中使用恒定时间(Constant-time)算术逻辑来优先考虑侧信道防御,确保防止与秘密相关的定时变化。它利用 Rust 类型系统强制执行状态有效性,使非法群元素在编译时无法表示。为了最大化性能,该库采用硬件特定的 SIMD 向量化,并允许编译时后端选择,使开发者能够在执行速度与特定的安全或验证要求之间取得平衡。 除了核心算术,该库还包括对安全密钥生命周期管理的全面支持,包括随机性生成、严格的密钥验证以及针对敏感秘密的显式内存清零。它还提供用于批量签名验证、哈希到曲线映射以及用于网络传输或存储的数据序列化的实用程序。
Automates the application of target feature attributes to ensure vector instructions are inlined correctly.
Fundamental C++ SIMD types for Intel CPUs (sse, avx, avx2, avx512)
Fundamental SIMD types for Intel CPUs.