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. تعمل كأساس لبناء بروتوكولات تشفير آمنة، وتقدم أدوات لحساب المنحنيات الإهليلجية، وتبادل المفاتيح، وتوليد التوقيع الرقمي. يعطي التنفيذ الأولوية للمقاومة ضد القنوات الجانبية (side-channel resistance) من خلال استخدام منطق حسابي ثابت الوقت عبر جميع العمليات، مما يضمن منع تغيرات التوقيت المعتمدة على السر. وتستفيد من نظام أنواع 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.