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

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

#include <TTL_int_ext_typed_tensors.h>

Collaboration diagram for TTL_ext_uchar_tensor_t:

Data Fields

__global ucharbase
 
TTL_dim_t elem_size
 
TTL_layout_t layout
 
TTL_shape_t shape
 

Detailed Description

const and non-const tensors in the appropriate address space

See also
__TTL_typedef_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 1651 of file TTL_int_ext_typed_tensors.h.

Field Documentation

◆ base

__global uchar* TTL_ext_uchar_tensor_t::base

The base address of the tensor in the local address space

Definition at line 1652 of file TTL_int_ext_typed_tensors.h.

◆ elem_size

TTL_dim_t TTL_ext_uchar_tensor_t::elem_size

The sizeof the elements in the tensor

Definition at line 1653 of file TTL_int_ext_typed_tensors.h.

◆ layout

TTL_layout_t TTL_ext_uchar_tensor_t::layout

The layout of the tensor,

See also
TTL_layout_t

Definition at line 1654 of file TTL_int_ext_typed_tensors.h.

◆ shape

TTL_shape_t TTL_ext_uchar_tensor_t::shape

The shape of the tensor in 3 dimensions

Definition at line 1655 of file TTL_int_ext_typed_tensors.h.


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