This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3

neuron_driver_shared_tensor_batch_op.h#

Shared tensor batch operation structures between runtime and driver.

Source: src/libnrt/include/ndl/neuron_driver_shared_tensor_batch_op.h

Typedefs#

nrt_tensor_batch_offset_t#

typedef uint64_t nrt_tensor_batch_offset_t;

Type for tensor batch operation offset.

Source: neuron_driver_shared_tensor_batch_op.h:13

nrt_tensor_batch_size_t#

typedef uint64_t nrt_tensor_batch_size_t;

Type for tensor batch operation size.

Source: neuron_driver_shared_tensor_batch_op.h:14

Structures#

nrt_tensor_batch_op_t#

typedef struct nrt_tensor_batch_op {
    nrt_tensor_batch_offset_t offset;
    nrt_tensor_batch_size_t size;
    void *buffer;
} nrt_tensor_batch_op_t;

Tensor batch operation structure containing offset, size, and buffer pointer.

Source: neuron_driver_shared_tensor_batch_op.h:17

This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3