157 tile_next_import.
shape,
163 tile_next_import.
shape,
211 tile_current_export.
shape,
214 tile_current_export.
offset);
383 tile_next_import.
shape,
389 tile_next_import.
shape,
437 tile_current_export.
shape,
440 tile_current_export.
offset);
609 tile_next_import.
shape,
615 tile_next_import.
shape,
663 tile_current_export.
shape,
666 tile_current_export.
offset);
835 tile_next_import.
shape,
841 tile_next_import.
shape,
889 tile_current_export.
shape,
892 tile_current_export.
offset);
1061 tile_next_import.
shape,
1064 tile_next_import.
offset);
1067 tile_next_import.
shape,
1115 tile_current_export.
shape,
1118 tile_current_export.
offset);
1287 tile_next_import.
shape,
1290 tile_next_import.
offset);
1293 tile_next_import.
shape,
1341 tile_current_export.
shape,
1344 tile_current_export.
offset);
1514 tile_next_import.
shape,
1517 tile_next_import.
offset);
1520 tile_next_import.
shape,
1568 tile_current_export.
shape,
1571 tile_current_export.
offset);
1740 tile_next_import.
shape,
1743 tile_next_import.
offset);
1746 tile_next_import.
shape,
1794 tile_current_export.
shape,
1797 tile_current_export.
offset);
1966 tile_next_import.
shape,
1969 tile_next_import.
offset);
1972 tile_next_import.
shape,
2020 tile_current_export.
shape,
2023 tile_current_export.
offset);
static TTL_ext_void_tensor_t TTL_create_ext_tensor(__global void *base, const TTL_shape_t shape, const TTL_layout_t layout, const TTL_offset_t offset, const TTL_dim_t elem_size)
const and non-const tensor creation functions.
static const TTL_const_ext_void_tensor_t * TTL_to_const_tensor(const TTL_ext_void_tensor_t *const tensor)
static TTL_int_void_tensor_t TTL_create_int_tensor(__local void *base, const TTL_shape_t shape, const TTL_layout_t layout, const TTL_offset_t offset, const TTL_dim_t elem_size)
const and non-const tensor creation functions.
static TTL_int_void_sub_tensor_t TTL_create_int_sub_tensor(__local void *base, const TTL_shape_t shape, const TTL_layout_t layout, const TTL_dim_t elem_size, const TTL_offset_t offset, const TTL_shape_t origin_shape, TTL_offset_t origin_offset)
const and non-const sub tensor creation functions.
static const TTL_ext_void_tensor_t * TTL_to_void_tensor(const TTL_ext_void_tensor_t *tensor)
static TTL_int_void_sub_tensor_t TTL_create_empty_int_sub_tensor(__local void *unused)
static const TTL_ext_void_sub_tensor_t * TTL_to_void_sub_tensor(const TTL_ext_void_sub_tensor_t *tensor)
static TTL_const_ext_void_tensor_t TTL_create_const_ext_tensor(__global const void *base, const TTL_shape_t shape, const TTL_layout_t layout, const TTL_offset_t offset, const TTL_dim_t elem_size)
create TTL_create_int_tensor_impl
static TTL_io_void_tensor_t TTL_create_io_tensors(TTL_int_void_sub_tensor_t imported_to, TTL_int_void_sub_tensor_t to_export_from)
Create a TTL_io_tensors_t from a pair of tensors.
static TTL_io_void_tensor_t TTL_step_buffering(TTL_simplex_const_void_tensor_buffering_t *const simplex_buffer, TTL_tile_t tile_next_import, TTL_tile_t tile_current_export)
static void TTL_finish_buffering(TTL_simplex_const_void_tensor_buffering_t *const simplex_buffering)
static TTL_simplex_const_void_tensor_buffering_t TTL_start_simplex_buffering(__local void *int_base1, __local void *int_base2, __local void *int_base3, TTL_ext_void_tensor_t ext_tensor_in, TTL_ext_void_tensor_t ext_tensor_out, TTL_event_t *event_in, TTL_event_t *event_out, TTL_tile_t first_tile)
Create a TTL_simplex_buffering_t and begin the buffering process.
static TTL_layout_t TTL_create_layout(void)
Create a 1D Description of a Tensor layout in memory.
static int TTL_tile_empty(TTL_tile_t tile)
Check if the tile passed is empty.
static TTL_tile_t TTL_create_empty_tile()
Create an empty tile. Empty means it has all dimensions set to zero.
static void TTL_import_sub_tensor(const TTL_int_void_sub_tensor_t internal_sub_tensor, const TTL_const_ext_void_tensor_t const_external_tensor, TTL_event_t *event)
Implementation of TTL_import_sub_tensor.
static void TTL_export(const TTL_const_int_void_tensor_t internal_tensor, const TTL_ext_void_tensor_t external_tensor, TTL_event_t *event)
Export the external tensor to the internal tensor returning when complete.
event_t TTL_event_t
TTL_event_t is a pseudonym for OpenCL event_t.
#define __local
The opencl __local namespace is not supported in C.
unsigned char uchar
opencl and so TTL supports a type called uchar which is not part of C
unsigned long ulong
OpenCL supports ulong so provide the same in c.
unsigned int uint
OpenCL supports uint so provide the same in c.
unsigned short ushort
OpenCL supports ushort so provide the same in c.
static void TTL_wait(const int num_events, TTL_event_t *const events)
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const tensors in the appropriate address space
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Describes a pair of internal Tensors after an operation.
Description of a Tensor layout in memory.
TTL_dim_t width
Number of elements along dimension x.
TTL_dim_t height
Number of rows along dimension y.
TTL_ext_char_tensor_t ext_tensor_out
TTL_int_char_sub_tensor_t int_prev_imported
struct TTL_simplex_const_char_tensor_buffering_t::@151364276074235233353215211004324345371371234176 common
The information that is common to all pipeline schemes.
__local char * int_base[3]
TTL_tile_t next_exported_tile
TTL_ext_char_tensor_t ext_tensor_in
TTL_int_int_sub_tensor_t int_prev_imported
TTL_tile_t next_exported_tile
__local int * int_base[3]
TTL_ext_int_tensor_t ext_tensor_out
struct TTL_simplex_const_int_tensor_buffering_t::@253313373052213322053276016274213340172365001033 common
The information that is common to all pipeline schemes.
TTL_ext_int_tensor_t ext_tensor_in
TTL_int_long_sub_tensor_t int_prev_imported
TTL_tile_t next_exported_tile
struct TTL_simplex_const_long_tensor_buffering_t::@127064357345325112075046301011065216033014104341 common
The information that is common to all pipeline schemes.
TTL_ext_long_tensor_t ext_tensor_out
__local long * int_base[3]
TTL_ext_long_tensor_t ext_tensor_in
TTL_tile_t next_exported_tile
TTL_ext_short_tensor_t ext_tensor_in
TTL_int_short_sub_tensor_t int_prev_imported
TTL_ext_short_tensor_t ext_tensor_out
struct TTL_simplex_const_short_tensor_buffering_t::@115272321114137123101225013316021153121033257075 common
The information that is common to all pipeline schemes.
__local short * int_base[3]
TTL_tile_t next_exported_tile
__local uchar * int_base[3]
struct TTL_simplex_const_uchar_tensor_buffering_t::@223221137317077266265375173261160253237074234026 common
The information that is common to all pipeline schemes.
TTL_ext_uchar_tensor_t ext_tensor_in
TTL_ext_uchar_tensor_t ext_tensor_out
TTL_int_uchar_sub_tensor_t int_prev_imported
__local uint * int_base[3]
TTL_tile_t next_exported_tile
TTL_ext_uint_tensor_t ext_tensor_out
TTL_ext_uint_tensor_t ext_tensor_in
struct TTL_simplex_const_uint_tensor_buffering_t::@060015144121104020011051356200213205333132324000 common
The information that is common to all pipeline schemes.
TTL_int_uint_sub_tensor_t int_prev_imported
TTL_ext_ulong_tensor_t ext_tensor_out
TTL_tile_t next_exported_tile
__local ulong * int_base[3]
TTL_int_ulong_sub_tensor_t int_prev_imported
TTL_ext_ulong_tensor_t ext_tensor_in
struct TTL_simplex_const_ulong_tensor_buffering_t::@040214027170156123057066024141166173057051310055 common
The information that is common to all pipeline schemes.
TTL_int_ushort_sub_tensor_t int_prev_imported
__local ushort * int_base[3]
TTL_ext_ushort_tensor_t ext_tensor_out
TTL_ext_ushort_tensor_t ext_tensor_in
struct TTL_simplex_const_ushort_tensor_buffering_t::@174153011163350113115334035274116027242307070323 common
The information that is common to all pipeline schemes.
TTL_tile_t next_exported_tile
TTL_ext_void_tensor_t ext_tensor_out
TTL_int_void_sub_tensor_t int_prev_imported
TTL_tile_t next_exported_tile
__local void * int_base[3]
TTL_ext_void_tensor_t ext_tensor_in
struct TTL_simplex_const_void_tensor_buffering_t::@216377303123235236211140053033115236170055361077 common
The information that is common to all pipeline schemes.