Skip to main content

Module flags

Module flags 

Source
Expand description

Bit flags, as reported in TensorDesc::flags.

A bitfield rather than more discrete fields: the additions this protocol is most likely to need are booleans, and each one spent as its own u32 would grow the descriptor – which after release costs a capsule-name bump. Spending one u32 now buys 32 of them for free.

Constants§

SYNC_PRESENT
[TensorDesc::sync] carries a real handle. When clear, sync is meaningless and must not be waited on.