Go to the source code of this file.
Functions | |
| static __local void * | TTL_local_memset (__local void *const ptr, char value, size_t num) |
| Fill block of local memory. | |
| static void | TTL_clear_void_space (__local void *const dst, const size_t x_offset, const size_t y_offset, size_t num_bytes_per_element, size_t num_elements_per_line, size_t dst_total_line_length, size_t num_lines, size_t total_lines, size_t num_planes) |
| Clear any unpopulated space in the target area. | |
| static TTL_shape_t | TTL_import_pre_fill (const TTL_int_sub_tensor_t internal_sub_tensor, const TTL_const_ext_tensor_t const_external_tensor, __local void **const dst_address, __global void **const src_address) |
|
inlinestatic |
Clear any unpopulated space in the target area.
| dst | |
| x_offset | |
| y_offset | |
| num_bytes_per_element | |
| num_elements_per_line | |
| dst_total_line_length | |
| num_lines | |
| total_lines | |
| num_planes |
Definition at line 54 of file TTL_c/TTL_import_export.h.
|
inlinestatic |
Definition at line 77 of file TTL_c/TTL_import_export.h.
Fill block of local memory.
Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpreted as an unsigned char).
| ptr | Pointer to the block of memory to fill. |
| value | Value to be set. The value is passed as an int, but the function fills the block of memory using the unsigned char conversion of this value. |
| num | Number of bytes to be set to the value. |
Definition at line 32 of file TTL_c/TTL_import_export.h.