Expand description
Checked host-memory operations and explicit cache policy.
Ordinary copies retain the platform’s bulk-copy implementation while using compiler-sized blocks for small dynamic lengths. Streaming copies are an explicit contract for destinations that the CPU will not consume soon, such as GPU upload storage. They never change copy correctness.
Functions§
- copy
- Copy one complete byte slice into another non-overlapping slice.
- copy_
streaming - Copy one complete byte slice using an explicit one-way streaming policy.
- equal
- Compare two byte slices with ordinary early-exit semantics.
- equal_
constant_ time - Compare equal-length byte slices without content-dependent early exit.
- zero_
secure - Erase every byte through observable stores.