187 result.
common.int_base[0] = int_base_in;
188 result.
common.int_base[1] = int_base_out;
190 result.
common.ext_tensor_in = ext_tensor_in;
191 result.
common.ext_tensor_out = ext_tensor_out;
207 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
208 tile_current_import.
shape,
209 duplex_buffering->
common.ext_tensor_in.layout,
210 tile_current_import.
offset,
211 duplex_buffering->
common.ext_tensor_in.elem_size);
213 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
214 tile_current_import.
shape,
216 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
217 tile_current_import.
offset);
222 if (TTL_tile_empty(tile_current_import) ==
false)
224 *TTL_to_void_tensor(&next_import_ext_tensor),
225 &(*duplex_buffering->
events)[0]);
227 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
228 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
229 *TTL_to_void_tensor(&next_export_ext_tensor),
230 &(*duplex_buffering->
events)[1]);
235 tile_current_export.
shape,
236 duplex_buffering->
common.ext_tensor_out.layout,
237 tile_current_export.
offset,
238 duplex_buffering->
common.ext_tensor_out.elem_size);
240 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
241 tile_current_export.
shape,
243 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
244 tile_current_export.
offset);
251 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
256 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
444 result.
common.int_base[0] = int_base_in;
445 result.
common.int_base[1] = int_base_out;
447 result.
common.ext_tensor_in = ext_tensor_in;
448 result.
common.ext_tensor_out = ext_tensor_out;
464 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
465 tile_current_import.
shape,
466 duplex_buffering->
common.ext_tensor_in.layout,
467 tile_current_import.
offset,
468 duplex_buffering->
common.ext_tensor_in.elem_size);
470 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
471 tile_current_import.
shape,
473 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
474 tile_current_import.
offset);
479 if (TTL_tile_empty(tile_current_import) ==
false)
481 *TTL_to_void_tensor(&next_import_ext_tensor),
482 &(*duplex_buffering->
events)[0]);
484 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
485 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
486 *TTL_to_void_tensor(&next_export_ext_tensor),
487 &(*duplex_buffering->
events)[1]);
492 tile_current_export.
shape,
493 duplex_buffering->
common.ext_tensor_out.layout,
494 tile_current_export.
offset,
495 duplex_buffering->
common.ext_tensor_out.elem_size);
497 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
498 tile_current_export.
shape,
500 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
501 tile_current_export.
offset);
508 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
513 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
701 result.
common.int_base[0] = int_base_in;
702 result.
common.int_base[1] = int_base_out;
704 result.
common.ext_tensor_in = ext_tensor_in;
705 result.
common.ext_tensor_out = ext_tensor_out;
721 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
722 tile_current_import.
shape,
723 duplex_buffering->
common.ext_tensor_in.layout,
724 tile_current_import.
offset,
725 duplex_buffering->
common.ext_tensor_in.elem_size);
727 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
728 tile_current_import.
shape,
730 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
731 tile_current_import.
offset);
736 if (TTL_tile_empty(tile_current_import) ==
false)
738 *TTL_to_void_tensor(&next_import_ext_tensor),
739 &(*duplex_buffering->
events)[0]);
741 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
742 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
743 *TTL_to_void_tensor(&next_export_ext_tensor),
744 &(*duplex_buffering->
events)[1]);
749 TTL_create_ext_tensor(duplex_buffering->
common.ext_tensor_out.base,
750 tile_current_export.
shape,
751 duplex_buffering->
common.ext_tensor_out.layout,
752 tile_current_export.
offset,
753 duplex_buffering->
common.ext_tensor_out.elem_size);
755 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
756 tile_current_export.
shape,
758 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
759 tile_current_export.
offset);
766 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
771 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
959 result.
common.int_base[0] = int_base_in;
960 result.
common.int_base[1] = int_base_out;
962 result.
common.ext_tensor_in = ext_tensor_in;
963 result.
common.ext_tensor_out = ext_tensor_out;
979 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
980 tile_current_import.
shape,
981 duplex_buffering->
common.ext_tensor_in.layout,
982 tile_current_import.
offset,
983 duplex_buffering->
common.ext_tensor_in.elem_size);
985 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
986 tile_current_import.
shape,
988 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
989 tile_current_import.
offset);
994 if (TTL_tile_empty(tile_current_import) ==
false)
996 *TTL_to_void_tensor(&next_import_ext_tensor),
997 &(*duplex_buffering->
events)[0]);
999 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
1000 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
1001 *TTL_to_void_tensor(&next_export_ext_tensor),
1002 &(*duplex_buffering->
events)[1]);
1007 tile_current_export.
shape,
1008 duplex_buffering->
common.ext_tensor_out.layout,
1009 tile_current_export.
offset,
1010 duplex_buffering->
common.ext_tensor_out.elem_size);
1012 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
1013 tile_current_export.
shape,
1015 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1016 tile_current_export.
offset);
1023 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
1028 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
1216 result.
common.int_base[0] = int_base_in;
1217 result.
common.int_base[1] = int_base_out;
1219 result.
common.ext_tensor_in = ext_tensor_in;
1220 result.
common.ext_tensor_out = ext_tensor_out;
1236 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
1237 tile_current_import.
shape,
1238 duplex_buffering->
common.ext_tensor_in.layout,
1239 tile_current_import.
offset,
1240 duplex_buffering->
common.ext_tensor_in.elem_size);
1242 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
1243 tile_current_import.
shape,
1245 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1246 tile_current_import.
offset);
1251 if (TTL_tile_empty(tile_current_import) ==
false)
1253 *TTL_to_void_tensor(&next_import_ext_tensor),
1254 &(*duplex_buffering->
events)[0]);
1256 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
1257 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
1258 *TTL_to_void_tensor(&next_export_ext_tensor),
1259 &(*duplex_buffering->
events)[1]);
1264 tile_current_export.
shape,
1265 duplex_buffering->
common.ext_tensor_out.layout,
1266 tile_current_export.
offset,
1267 duplex_buffering->
common.ext_tensor_out.elem_size);
1269 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
1270 tile_current_export.
shape,
1272 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1273 tile_current_export.
offset);
1280 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
1285 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
1473 result.
common.int_base[0] = int_base_in;
1474 result.
common.int_base[1] = int_base_out;
1476 result.
common.ext_tensor_in = ext_tensor_in;
1477 result.
common.ext_tensor_out = ext_tensor_out;
1493 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
1494 tile_current_import.
shape,
1495 duplex_buffering->
common.ext_tensor_in.layout,
1496 tile_current_import.
offset,
1497 duplex_buffering->
common.ext_tensor_in.elem_size);
1499 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
1500 tile_current_import.
shape,
1502 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1503 tile_current_import.
offset);
1508 if (TTL_tile_empty(tile_current_import) ==
false)
1510 *TTL_to_void_tensor(&next_import_ext_tensor),
1511 &(*duplex_buffering->
events)[0]);
1513 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
1514 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
1515 *TTL_to_void_tensor(&next_export_ext_tensor),
1516 &(*duplex_buffering->
events)[1]);
1521 TTL_create_ext_tensor(duplex_buffering->
common.ext_tensor_out.base,
1522 tile_current_export.
shape,
1523 duplex_buffering->
common.ext_tensor_out.layout,
1524 tile_current_export.
offset,
1525 duplex_buffering->
common.ext_tensor_out.elem_size);
1527 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
1528 tile_current_export.
shape,
1530 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1531 tile_current_export.
offset);
1538 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
1543 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
1731 result.
common.int_base[0] = int_base_in;
1732 result.
common.int_base[1] = int_base_out;
1734 result.
common.ext_tensor_in = ext_tensor_in;
1735 result.
common.ext_tensor_out = ext_tensor_out;
1751 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
1752 tile_current_import.
shape,
1753 duplex_buffering->
common.ext_tensor_in.layout,
1754 tile_current_import.
offset,
1755 duplex_buffering->
common.ext_tensor_in.elem_size);
1757 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
1758 tile_current_import.
shape,
1760 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1761 tile_current_import.
offset);
1766 if (TTL_tile_empty(tile_current_import) ==
false)
1768 *TTL_to_void_tensor(&next_import_ext_tensor),
1769 &(*duplex_buffering->
events)[0]);
1771 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
1772 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
1773 *TTL_to_void_tensor(&next_export_ext_tensor),
1774 &(*duplex_buffering->
events)[1]);
1779 TTL_create_ext_tensor(duplex_buffering->
common.ext_tensor_out.base,
1780 tile_current_export.
shape,
1781 duplex_buffering->
common.ext_tensor_out.layout,
1782 tile_current_export.
offset,
1783 duplex_buffering->
common.ext_tensor_out.elem_size);
1785 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
1786 tile_current_export.
shape,
1788 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
1789 tile_current_export.
offset);
1796 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
1801 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
1989 result.
common.int_base[0] = int_base_in;
1990 result.
common.int_base[1] = int_base_out;
1992 result.
common.ext_tensor_in = ext_tensor_in;
1993 result.
common.ext_tensor_out = ext_tensor_out;
2009 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
2010 tile_current_import.
shape,
2011 duplex_buffering->
common.ext_tensor_in.layout,
2012 tile_current_import.
offset,
2013 duplex_buffering->
common.ext_tensor_in.elem_size);
2015 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
2016 tile_current_import.
shape,
2018 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
2019 tile_current_import.
offset);
2024 if (TTL_tile_empty(tile_current_import) ==
false)
2026 *TTL_to_void_tensor(&next_import_ext_tensor),
2027 &(*duplex_buffering->
events)[0]);
2029 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
2030 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
2031 *TTL_to_void_tensor(&next_export_ext_tensor),
2032 &(*duplex_buffering->
events)[1]);
2037 tile_current_export.
shape,
2038 duplex_buffering->
common.ext_tensor_out.layout,
2039 tile_current_export.
offset,
2040 duplex_buffering->
common.ext_tensor_out.elem_size);
2042 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
2043 tile_current_export.
shape,
2045 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
2046 tile_current_export.
offset);
2053 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
2058 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
2246 result.
common.int_base[0] = int_base_in;
2247 result.
common.int_base[1] = int_base_out;
2249 result.
common.ext_tensor_in = ext_tensor_in;
2250 result.
common.ext_tensor_out = ext_tensor_out;
2266 TTL_create_const_ext_tensor(duplex_buffering->
common.ext_tensor_in.base,
2267 tile_current_import.
shape,
2268 duplex_buffering->
common.ext_tensor_in.layout,
2269 tile_current_import.
offset,
2270 duplex_buffering->
common.ext_tensor_in.elem_size);
2272 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[0],
2273 tile_current_import.
shape,
2275 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
2276 tile_current_import.
offset);
2281 if (TTL_tile_empty(tile_current_import) ==
false)
2283 *TTL_to_void_tensor(&next_import_ext_tensor),
2284 &(*duplex_buffering->
events)[0]);
2286 if (TTL_const_int_tensor_empty(duplex_buffering->
prev_out_tensors.to_export_from) ==
false)
2287 TTL_export(*TTL_to_void_tensor(&next_export_int_tensor),
2288 *TTL_to_void_tensor(&next_export_ext_tensor),
2289 &(*duplex_buffering->
events)[1]);
2294 TTL_create_ext_tensor(duplex_buffering->
common.ext_tensor_out.base,
2295 tile_current_export.
shape,
2296 duplex_buffering->
common.ext_tensor_out.layout,
2297 tile_current_export.
offset,
2298 duplex_buffering->
common.ext_tensor_out.elem_size);
2300 TTL_create_int_sub_tensor(duplex_buffering->
common.int_base[1],
2301 tile_current_export.
shape,
2303 *TTL_to_const_tensor(&duplex_buffering->
common.ext_tensor_in),
2304 tile_current_export.
offset);
2311 return TTL_create_io_tensors(next_import_int_sub_tensor, to_export_from);
2316 TTL_step_buffering(duplex_buffering, TTL_create_empty_tile(), TTL_create_empty_tile());
event_t TTL_event_t
TTL_event_t is a pseudonym for OpenCL event_t.
#define __global
The opencl __global namespace is not supported in C.
#define __local
The opencl __local namespace is not supported in C.
unsigned char uchar
OpenCL supports uchar so provide the same in 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)
void TTL_export(const TTL_tensor< TENSORTYPE > &internal_tensor, const TTL_tensor< TENSORTYPE > &external_tensor, TTL_event *event)
Export the external tensor to the internal tensor returning when complete.
void TTL_import_sub_tensor(const TTL_sub_tensor< TENSORTYPE > &internal_sub_tensor, const TTL_tensor< TENSORTYPE > const_external_tensor, TTL_event *event)
Implementation of TTL_import_sub_tensor.
static void TTL_finish_buffering(TTL_import_double_const_void_tensor_buffering_t *import_double_buffering)
static TTL_int_void_sub_tensor_t TTL_step_buffering(TTL_import_double_const_void_tensor_buffering_t *const db, const TTL_tile_t next_tile)
Wait for the previous import operation to complete before beginning an import of the next tile.
static TTL_duplex_const_void_tensor_buffering_t TTL_start_duplex_buffering(TTL_ext_void_tensor_t ext_tensor_in, __local void *int_base_in, TTL_ext_void_tensor_t ext_tensor_out, __local void *int_base_out, TTL_event_t(*events)[2], TTL_tile_t first_tile)
Create a TTL_DUPLEX_BUFFERING_TYPE and begin the buffering process.
TTL_ext_char_tensor_t ext_tensor_out
TTL_ext_char_tensor_t ext_tensor_in
__local char * int_base[2]
TTL_const_int_char_tensor_t to_export_from
TTL_ext_char_tensor_t to_export_to
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_char_tensor_buffering_t::@344143176254155127271377171021215175131213262326 prev_out_tensors
struct TTL_duplex_const_char_tensor_buffering_t::@050375202336037114222172373130207332377162063305 common
The information that is common to all pipeline schemes.
__local int * int_base[2]
TTL_ext_int_tensor_t ext_tensor_out
TTL_ext_int_tensor_t ext_tensor_in
TTL_ext_int_tensor_t to_export_to
TTL_const_int_int_tensor_t to_export_from
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_int_tensor_buffering_t::@117045051072360117341342352305101257017110207124 common
The information that is common to all pipeline schemes.
struct TTL_duplex_const_int_tensor_buffering_t::@324066070332373127162206125254014360047163324114 prev_out_tensors
__local long * int_base[2]
TTL_ext_long_tensor_t ext_tensor_in
TTL_ext_long_tensor_t ext_tensor_out
TTL_ext_long_tensor_t to_export_to
TTL_const_int_long_tensor_t to_export_from
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_long_tensor_buffering_t::@026100206211132324170202220111176014363110372335 prev_out_tensors
struct TTL_duplex_const_long_tensor_buffering_t::@140257160023053212271370263220050034355270017007 common
The information that is common to all pipeline schemes.
__local short * int_base[2]
TTL_ext_short_tensor_t ext_tensor_out
TTL_ext_short_tensor_t ext_tensor_in
TTL_ext_short_tensor_t to_export_to
TTL_const_int_short_tensor_t to_export_from
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_short_tensor_buffering_t::@042201163177140377046100354331020164064117120176 prev_out_tensors
struct TTL_duplex_const_short_tensor_buffering_t::@351106363110351106354366372164335211253013237030 common
The information that is common to all pipeline schemes.
__local uchar * int_base[2]
TTL_ext_uchar_tensor_t ext_tensor_in
TTL_ext_uchar_tensor_t ext_tensor_out
TTL_ext_uchar_tensor_t to_export_to
TTL_const_int_uchar_tensor_t to_export_from
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_uchar_tensor_buffering_t::@033013316332200373361173164064074203126244307341 prev_out_tensors
struct TTL_duplex_const_uchar_tensor_buffering_t::@011207141202005172353025165031061074140206045112 common
The information that is common to all pipeline schemes.
TTL_ext_uint_tensor_t ext_tensor_out
TTL_ext_uint_tensor_t ext_tensor_in
__local uint * int_base[2]
TTL_ext_uint_tensor_t to_export_to
TTL_const_int_uint_tensor_t to_export_from
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_uint_tensor_buffering_t::@351117060230002304314103370042070205165267300340 prev_out_tensors
struct TTL_duplex_const_uint_tensor_buffering_t::@127050172333132351334221117135344074324066102212 common
The information that is common to all pipeline schemes.
__local ulong * int_base[2]
TTL_ext_ulong_tensor_t ext_tensor_out
TTL_ext_ulong_tensor_t ext_tensor_in
TTL_const_int_ulong_tensor_t to_export_from
TTL_ext_ulong_tensor_t to_export_to
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_ulong_tensor_buffering_t::@040073176150230006236337361235023366245112155356 common
The information that is common to all pipeline schemes.
struct TTL_duplex_const_ulong_tensor_buffering_t::@344334261266302326147316136056175301175017036034 prev_out_tensors
TTL_ext_ushort_tensor_t ext_tensor_in
__local ushort * int_base[2]
TTL_ext_ushort_tensor_t ext_tensor_out
TTL_ext_ushort_tensor_t to_export_to
TTL_const_int_ushort_tensor_t to_export_from
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_ushort_tensor_buffering_t::@373347261262023210331120243260274256167114174121 common
The information that is common to all pipeline schemes.
struct TTL_duplex_const_ushort_tensor_buffering_t::@077203244370161074140245124121346073372134261303 prev_out_tensors
__local void * int_base[2]
TTL_ext_void_tensor_t ext_tensor_out
TTL_ext_void_tensor_t ext_tensor_in
TTL_const_int_void_tensor_t to_export_from
TTL_ext_void_tensor_t to_export_to
Data required to perform duplex buffer pipelining.
struct TTL_duplex_const_void_tensor_buffering_t::@332013366163071261377256342311116252054315043010 prev_out_tensors
struct TTL_duplex_const_void_tensor_buffering_t::@125361315215356041023024141356015160200167377272 common
The information that is common to all pipeline schemes.
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
TTL_int_char_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_int_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_long_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_short_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_uchar_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_uint_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_ulong_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_ushort_tensor_t tensor
const and non-const sub tensors in the appropriate address space
TTL_int_void_tensor_t tensor
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.