Enum anira_tensor_flags#
-
enum anira_tensor_flags#
Bit flags of anira_tensor::flags.
Values:
-
enumerator ANIRA_TENSOR_READ_ONLY#
The producer will not write; anira must not either.
-
enumerator ANIRA_TENSOR_DISCARD_CONTENTS#
The previous contents need not be preserved.
-
enumerator ANIRA_TENSOR_HOST_COHERENT#
Host writes are visible without an explicit flush.
-
enumerator ANIRA_TENSOR_PLANAR#
The memory is handle.planes: one pointer per plane of axis 0 (shape[0] planes) instead of one block. strides[0] is ignored; the strides from axis 1 on and byte_offset apply inside each plane. A boundary representation of host memory (ANIRA_DOMAIN_HOST, ANIRA_DOMAIN_HOST_PINNED): only an entry whose own documentation says so accepts it, every other consumer and every other domain refuses it with ANIRA_ERROR_NOT_SUPPORTED.
-
enumerator ANIRA_TENSOR_FLAGS_FORCE32#
-
enumerator ANIRA_TENSOR_READ_ONLY#