//! Torch components
pub use ExclusiveTensor;
/// Initialization function for unit tests using CUDA.
///
/// Creating a Tensor on CUDA for the first time on each thread triggers a long (~1s) setup
/// routine.
/// Each test runs in its own thread so this setup happens many times (albeit concurrently).
/// With [`ctor`], this function automatically runs immediately before per-test threads are spawned
/// and creates a small CUDA tensor (if CUDA is available). Consequently, the initialization is
/// only performed once. The test threads spawn with the setup already in effect.
///