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
cpufeature is set by default whenevertensorlogic-scirs-backendis added withoutsomewhere in the dependency tree.default-features = false - 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