43 db->
common.ext_tensor_in.layout,
45 db->
common.ext_tensor_in.elem_size);
49 if (TTL_tile_empty(next_tile) ==
false) {
83 db->
common.ext_tensor_in.layout,
85 db->
common.ext_tensor_in.elem_size);
89 if (TTL_tile_empty(db->
prev_tile) ==
false)
90 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
97 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
106 (void)import_double_buffering;
157 db->
common.ext_tensor_in.layout,
159 db->
common.ext_tensor_in.elem_size);
163 if (TTL_tile_empty(next_tile) ==
false) {
197 db->
common.ext_tensor_in.layout,
199 db->
common.ext_tensor_in.elem_size);
203 if (TTL_tile_empty(db->
prev_tile) ==
false)
204 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
211 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
220 (void)import_double_buffering;
271 db->
common.ext_tensor_in.layout,
273 db->
common.ext_tensor_in.elem_size);
277 if (TTL_tile_empty(next_tile) ==
false) {
311 db->
common.ext_tensor_in.layout,
313 db->
common.ext_tensor_in.elem_size);
317 if (TTL_tile_empty(db->
prev_tile) ==
false)
318 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
325 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
334 (void)import_double_buffering;
385 db->
common.ext_tensor_in.layout,
387 db->
common.ext_tensor_in.elem_size);
391 if (TTL_tile_empty(next_tile) ==
false) {
425 db->
common.ext_tensor_in.layout,
427 db->
common.ext_tensor_in.elem_size);
431 if (TTL_tile_empty(db->
prev_tile) ==
false)
432 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
439 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
448 (void)import_double_buffering;
499 db->
common.ext_tensor_in.layout,
501 db->
common.ext_tensor_in.elem_size);
505 if (TTL_tile_empty(next_tile) ==
false) {
539 db->
common.ext_tensor_in.layout,
541 db->
common.ext_tensor_in.elem_size);
545 if (TTL_tile_empty(db->
prev_tile) ==
false)
546 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
553 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
562 (void)import_double_buffering;
613 db->
common.ext_tensor_in.layout,
615 db->
common.ext_tensor_in.elem_size);
619 if (TTL_tile_empty(next_tile) ==
false) {
653 db->
common.ext_tensor_in.layout,
655 db->
common.ext_tensor_in.elem_size);
659 if (TTL_tile_empty(db->
prev_tile) ==
false)
660 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
667 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
676 (void)import_double_buffering;
727 db->
common.ext_tensor_in.layout,
729 db->
common.ext_tensor_in.elem_size);
733 if (TTL_tile_empty(next_tile) ==
false) {
767 db->
common.ext_tensor_in.layout,
769 db->
common.ext_tensor_in.elem_size);
773 if (TTL_tile_empty(db->
prev_tile) ==
false)
774 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
779 TTL_create_int_sub_tensor(db->
common.int_base[db->
common.index],
782 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
791 (void)import_double_buffering;
842 db->
common.ext_tensor_in.layout,
844 db->
common.ext_tensor_in.elem_size);
848 if (TTL_tile_empty(next_tile) ==
false) {
882 db->
common.ext_tensor_in.layout,
884 db->
common.ext_tensor_in.elem_size);
888 if (TTL_tile_empty(db->
prev_tile) ==
false)
889 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
896 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
905 (void)import_double_buffering;
956 db->
common.ext_tensor_in.layout,
958 db->
common.ext_tensor_in.elem_size);
962 if (TTL_tile_empty(next_tile) ==
false) {
996 db->
common.ext_tensor_in.layout,
998 db->
common.ext_tensor_in.elem_size);
1002 if (TTL_tile_empty(db->
prev_tile) ==
false)
1003 TTL_export(*TTL_to_void_tensor(TTL_to_const_tensor(&export_from)), *TTL_to_void_tensor(&export_to), db->
event);
1010 *TTL_to_const_tensor(&db->
common.ext_tensor_in),
1019 (void)import_double_buffering;
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.
Data required to perform double buffer pipelining.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
struct TTL_export_double_const_char_tensor_buffering_t::@160154101326270036264221032306317063372216237232 common
The information that is common to all pipeline schemes.
Data required to perform double buffer pipelining.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
struct TTL_export_double_const_int_tensor_buffering_t::@071262151353075217322340250025222337274100012130 common
The information that is common to all pipeline schemes.
Data required to perform double buffer pipelining.
struct TTL_export_double_const_long_tensor_buffering_t::@065143001252313033341066336064146017302051066367 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
struct TTL_export_double_const_short_tensor_buffering_t::@211272151362336024106343152102051052133017112125 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
Data required to perform double buffer pipelining.
struct TTL_export_double_const_uchar_tensor_buffering_t::@307077303372362006377174344104374311250225213161 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
struct TTL_export_double_const_uint_tensor_buffering_t::@043155102335103276112154220062127161010106272205 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
struct TTL_export_double_const_ulong_tensor_buffering_t::@352117156101072044275050165374275111222242155126 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
Data required to perform double buffer pipelining.
struct TTL_export_double_const_ushort_tensor_buffering_t::@141006375232351231037231023230011023170303300356 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
struct TTL_export_double_const_void_tensor_buffering_t::@241206111125103313337031251346125366162340321171 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
Data required to perform double buffer pipelining.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
struct TTL_import_double_const_char_tensor_buffering_t::@323253337265031262301151062362275112104023201353 common
The information that is common to all pipeline schemes.
Data required to perform double buffer pipelining.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
struct TTL_import_double_const_int_tensor_buffering_t::@267123132304000160270113322217360363163015045157 common
The information that is common to all pipeline schemes.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
struct TTL_import_double_const_long_tensor_buffering_t::@211023162361135005012012023155355375233264221364 common
The information that is common to all pipeline schemes.
Data required to perform double buffer pipelining.
struct TTL_import_double_const_short_tensor_buffering_t::@354364154166001277036346273107352314050307371274 common
The information that is common to all pipeline schemes.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
Data required to perform double buffer pipelining.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
struct TTL_import_double_const_uchar_tensor_buffering_t::@054267161227024021070176267343354255152077165343 common
The information that is common to all pipeline schemes.
Data required to perform double buffer pipelining.
struct TTL_import_double_const_uint_tensor_buffering_t::@324156252367372320246261116313130124374132375356 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
struct TTL_import_double_const_ulong_tensor_buffering_t::@224045012304212364152210234224100032245225152127 common
The information that is common to all pipeline schemes.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
Data required to perform double buffer pipelining.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
struct TTL_import_double_const_ushort_tensor_buffering_t::@133025167037064107110164363032345357011036003066 common
The information that is common to all pipeline schemes.
Data required to perform double buffer pipelining.
struct TTL_import_double_const_void_tensor_buffering_t::@203300061232242366253374042065104065001166324352 common
The information that is common to all pipeline schemes.
TTL_tile_t prev_tile
Store of the previous imported/exported tile */.
TTL_event_t * event
A pointer to the event that is used to track the progress of the transfer.
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
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.