Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL_ext_void_sub_tensor_t Struct Reference

const and non-const sub tensors in the appropriate address space More...

#include <TTL_int_ext_typed_tensors.h>

Collaboration diagram for TTL_ext_void_sub_tensor_t:

Data Fields

TTL_ext_void_tensor_t tensor
 
struct { 
 
   TTL_shape_t   shape 
 
   TTL_offset_t   sub_offset 
 
origin 
 

Detailed Description

const and non-const sub tensors in the appropriate address space

See also
__TTL_typedef_sub_tensor_t

Use of macros to ensure that structs are EXACTLY the same, along for the compiler to remove duplication and potentially a TTL_int_tensor_t to be safely case to a TTL_const_int_tensor_t.

Do not add a cast for TTL_const_int_tensor_t to TTL_int_tensor_t because that is not safe.

Definition at line 422 of file TTL_int_ext_typed_tensors.h.

Field Documentation

◆ [struct]

struct { ... } TTL_ext_void_sub_tensor_t::origin

◆ shape

TTL_shape_t TTL_ext_void_sub_tensor_t::shape

The shape of the origin tensor in 3 dimensions

Definition at line 435 of file TTL_int_ext_typed_tensors.h.

◆ sub_offset

TTL_offset_t TTL_ext_void_sub_tensor_t::sub_offset

The offset of the sub tensor from the origin sensor

Definition at line 436 of file TTL_int_ext_typed_tensors.h.

◆ tensor

TTL_ext_void_tensor_t TTL_ext_void_sub_tensor_t::tensor

Definition at line 433 of file TTL_int_ext_typed_tensors.h.


The documentation for this struct was generated from the following file: