internal/

directory
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
gobackend_ops_generator command
gobackend_generator auto-generates parts of the Go backend:
gobackend_generator auto-generates parts of the Go backend:
gobackend_opsregistration command
gobackends_ops_registration generates a registration system for each of the compute.StandardOps methods, so they can be implemented separated by separate packages, as well as stub methods for `gobackends.Backend` that calls the corresponding registered method if configured.
gobackends_ops_registration generates a registration system for each of the compute.StandardOps methods, so they can be implemented separated by separate packages, as well as stub methods for `gobackends.Backend` that calls the corresponding registered method if configured.
notimplemented_generator command
notimplemented_generator generates "notimplemented" stubs for every API of the compute.Backend interface
notimplemented_generator generates "notimplemented" stubs for every API of the compute.Backend interface
Package exceptions provide helper functions to leverage Go's `panic`, `recover` and `defer` as an "exceptions" system.
Package exceptions provide helper functions to leverage Go's `panic`, `recover` and `defer` as an "exceptions" system.
Package fastmath provides faster float32 approximations of selected math functions for use in go-backend kernels where small errors are acceptable (e.g.
Package fastmath provides faster float32 approximations of selected math functions for use in go-backend kernels where small errors are acceptable (e.g.
Package gobackend implements a compute.Backend using Go only.
Package gobackend implements a compute.Backend using Go only.
activations/avx2
Package avx2 provides AVX2 SIMD implementations for activations.
Package avx2 provides AVX2 SIMD implementations for activations.
activations/avx512
Package avx512 provides AVX-512 SIMD implementations for activations.
Package avx512 provides AVX-512 SIMD implementations for activations.
defaultpkgs
Package defaultpkgs imports all the sub-packages that implement the gobackend.
Package defaultpkgs imports all the sub-packages that implement the gobackend.
dot
Package dot implements a general-purpose "dot product" ("Einsum") computation.
Package dot implements a general-purpose "dot product" ("Einsum") computation.
dot/matmul
package matmul provides the base implementations of matrx multiply for DotGeneral.
package matmul provides the base implementations of matrx multiply for DotGeneral.
dot/matmul/avx2
Package avx2 provides AVX2 accelerated matrix multiplication kernels.
Package avx2 provides AVX2 accelerated matrix multiplication kernels.
dot/matmul/avx512
Package avx512 provides AVX-512 accelerated matrix multiplication kernels.
Package avx512 provides AVX-512 accelerated matrix multiplication kernels.
dot/matmul/matmultest
Package matmultest provides test helpers for verifying matrix multiplication packing and output routines.
Package matmultest provides test helpers for verifying matrix multiplication packing and output routines.
fusedops/avx2
Package avx2 provides AVX2 SIMD implementations for fused operations.
Package avx2 provides AVX2 SIMD implementations for fused operations.
fusedops/avx512
Package avx512 provides AVX2 SIMD implementations for fused operations.
Package avx512 provides AVX2 SIMD implementations for fused operations.
ops
Package ops has the base implementation for most operations for the Go backend.
Package ops has the base implementation for most operations for the Go backend.
ops/avx2
Package avx2 provides AVX2 SIMD implementations for normal operations.
Package avx2 provides AVX2 SIMD implementations for normal operations.
ops/avx512
Package avx512 provides AVX2 SIMD implementations for normal operations.
Package avx512 provides AVX2 SIMD implementations for normal operations.
scheduler
Package scheduler implements the runtime execution scheduler for the Go compute backend.
Package scheduler implements the runtime execution scheduler for the Go compute backend.
Package must provide a set of functions that check for errors and panic on error.
Package must provide a set of functions that check for errors and panic on error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL