Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hwygen
command
Command hwygen generates architecture-specific SIMD implementations from portable hwy.* code.
|
Command hwygen generates architecture-specific SIMD implementations from portable hwy.* code. |
|
hwygen/ir
Package ir provides an intermediate representation for Go SIMD code, enabling cross-cutting optimizations like operation fusion before emitting target-specific C code.
|
Package ir provides an intermediate representation for Go SIMD code, enabling cross-cutting optimizations like operation fusion before emitting target-specific C code. |
|
examples
|
|
|
basic
command
Package main demonstrates basic usage of go-highway SIMD operations.
|
Package main demonstrates basic usage of go-highway SIMD operations. |
|
gelu
Package gelu demonstrates the hwygen workflow with a GELU activation function.
|
Package gelu demonstrates the hwygen workflow with a GELU activation function. |
|
softmax
Package softmax demonstrates the hwygen workflow with a Softmax implementation.
|
Package softmax demonstrates the hwygen workflow with a Softmax implementation. |
|
specialize
Package specialize demonstrates the //hwy:specializes and //hwy:targets directives for architecture-specific template specialization.
|
Package specialize demonstrates the //hwy:specializes and //hwy:targets directives for architecture-specific template specialization. |
|
Package hwy provides portable SIMD operations with runtime CPU dispatch.
|
Package hwy provides portable SIMD operations with runtime CPU dispatch. |
|
contrib
Package contrib provides high-performance SIMD operations.
|
Package contrib provides high-performance SIMD operations. |
|
contrib/activation
Package activation provides SIMD-accelerated neural network activation functions.
|
Package activation provides SIMD-accelerated neural network activation functions. |
|
contrib/algo
Package algo provides algorithm utilities for SIMD operations.
|
Package algo provides algorithm utilities for SIMD operations. |
|
contrib/bitpack
Package bitpack provides high-performance SIMD bit-packing operations for integer compression.
|
Package bitpack provides high-performance SIMD bit-packing operations for integer compression. |
|
contrib/image
Package image provides SIMD-friendly 2D image types and operations.
|
Package image provides SIMD-friendly 2D image types and operations. |
|
contrib/linalg
Package linalg provides linear algebra decompositions and solvers built on SIMD-accelerated primitives from the vec and matmul packages.
|
Package linalg provides linear algebra decompositions and solvers built on SIMD-accelerated primitives from the vec and matmul packages. |
|
contrib/loss
Package loss provides SIMD-accelerated loss function kernels.
|
Package loss provides SIMD-accelerated loss function kernels. |
|
contrib/math
Package math provides high-performance SIMD transcendental math functions.
|
Package math provides high-performance SIMD transcendental math functions. |
|
contrib/matmul
Package matmul provides high-performance matrix multiplication operations using SIMD instructions.
|
Package matmul provides high-performance matrix multiplication operations using SIMD instructions. |
|
contrib/matmul/asm
AVX2 Matrix Multiplication for AMD64 Uses AVX2 SIMD instructions for efficient matrix multiply.
|
AVX2 Matrix Multiplication for AMD64 Uses AVX2 SIMD instructions for efficient matrix multiply. |
|
contrib/matvec
Package matvec provides high-performance SIMD matrix-vector operations.
|
Package matvec provides high-performance SIMD matrix-vector operations. |
|
contrib/matvec/asm
AVX2 Matrix-Vector Multiplication for AMD64 Uses AVX2 SIMD instructions for efficient matvec.
|
AVX2 Matrix-Vector Multiplication for AMD64 Uses AVX2 SIMD instructions for efficient matvec. |
|
contrib/nn
Package nn provides SIMD-accelerated neural network layer operations.
|
Package nn provides SIMD-accelerated neural network layer operations. |
|
contrib/quantize
Package quantize provides SIMD-accelerated uint8/float32 quantization and dequantization.
|
Package quantize provides SIMD-accelerated uint8/float32 quantization and dequantization. |
|
contrib/rabitq
Package rabitq provides SIMD-accelerated primitives for RaBitQ vector quantization.
|
Package rabitq provides SIMD-accelerated primitives for RaBitQ vector quantization. |
|
contrib/roaring
Package roaring provides SIMD-accelerated bitmap operations compatible with the RoaringBitmap/roaring Go library.
|
Package roaring provides SIMD-accelerated bitmap operations compatible with the RoaringBitmap/roaring Go library. |
|
contrib/sort
Package sort provides a vectorized quicksort (VQSort) implementation.
|
Package sort provides a vectorized quicksort (VQSort) implementation. |
|
contrib/varint
Package varint provides SIMD-accelerated batch varint (LEB128) decoding.
|
Package varint provides SIMD-accelerated batch varint (LEB128) decoding. |
|
contrib/vec
Package vec provides element-wise vector arithmetic operations using SIMD.
|
Package vec provides element-wise vector arithmetic operations using SIMD. |
|
contrib/wavelet
Package wavelet provides SIMD-accelerated wavelet transforms for image processing.
|
Package wavelet provides SIMD-accelerated wavelet transforms for image processing. |
|
contrib/workerpool
Package workerpool provides a persistent, reusable worker pool for parallel computation.
|
Package workerpool provides a persistent, reusable worker pool for parallel computation. |
|
goat
module
|
|
|
internal
|
|
|
cpuinfo
command
Package main provides a diagnostic tool to print CPU features detected by Go.
|
Package main provides a diagnostic tool to print CPU features detected by Go. |
Click to show internal directories.
Click to hide internal directories.