Cargo Features

[dependencies]
tensorlogic-scirs-backend = { version = "0.1.0-beta.1", default-features = false, features = ["cpu", "simd", "gpu", "parallel", "torsh", "integration-tests"] }
default = cpu

The cpu feature is set by default whenever tensorlogic-scirs-backend is added without default-features = false somewhere in the dependency tree.

cpu default simd?
simd = cpu

Enables simd of scirs2-core and scirs2-linalg

scirs2-core:

SIMD operations

gpu
parallel

Enables parallel of scirs2-core

scirs2-core:

Parallel processing with rayon

torsh

ToRSh tensor interoperability (pure Rust PyTorch alternative)

Enables torsh-core and torsh-tensor

torsh-core:

ToRSh interoperability (pure Rust PyTorch alternative)

Affects tensorlogic-scirs-backend::torsh_interop

integration-tests

Enable integration tests that require tensorlogic-compiler