Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL_ext_ulong_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_ulong_tensor_t:

Data Fields

__global ulongbase
 
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 6475 of file TTL_int_ext_typed_tensors.h.

Field Documentation

◆ base

__global ulong* TTL_ext_ulong_tensor_t::base

The base address of the tensor in the local address space

Definition at line 6476 of file TTL_int_ext_typed_tensors.h.

◆ elem_size

TTL_dim_t TTL_ext_ulong_tensor_t::elem_size

The sizeof the elements in the tensor

Definition at line 6477 of file TTL_int_ext_typed_tensors.h.

◆ layout

TTL_layout_t TTL_ext_ulong_tensor_t::layout

The layout of the tensor,

See also
TTL_layout_t

Definition at line 6478 of file TTL_int_ext_typed_tensors.h.

◆ shape

TTL_shape_t TTL_ext_ulong_tensor_t::shape

The shape of the tensor in 3 dimensions

Definition at line 6479 of file TTL_int_ext_typed_tensors.h.


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