Expand description
Mixed-precision compute descriptors used by every cuTENSOR op.
cuTENSOR’s cutensorComputeDescriptor_t is opaque; the library
exports a fixed set of named globals (CUTENSOR_R_MIN_32F, …).
We expose them as a Rust enum and resolve to the underlying
pointer at the call site.
Enums§
- Compute
Desc - Selects the cuTENSOR mixed-precision compute path.
MinF32is the natural pairing for f16/bf16 inputs that accumulate in f32.
Functions§
- compute_
desc_ tag - Stable u32 fingerprint of a
ComputeDescfor plan-cache keys. Different fromtag()so two compute descs are guaranteed to hash distinctly without relying on string hashing. - resolve_
compute_ desc - Resolve a
ComputeDescto the corresponding extern global pointer cuTENSOR expects.