TTL_const_ext_void_tensor_t TTL_const_ext_tensor_t
TTL_ext_void_tensor_t TTL_ext_tensor_t
TTL_const_int_void_tensor_t TTL_const_int_tensor_t
TTL_int_void_tensor_t TTL_int_tensor_t
static void wait_group_events(int num_events, event_t *event_list)
Wait for events that identify the async_work_group_copy operations to complete.
event_t TTL_event_t
TTL_event_t is a pseudonym for OpenCL event_t.
static event_t async_work_group_copy_3D3D(void *const dst, size_t dst_offset, const void *const src, size_t src_offset, size_t num_bytes_per_element, size_t num_elements_per_line, size_t num_lines, size_t num_planes, size_t src_total_line_length, size_t src_total_plane_spacing, size_t dst_total_line_length, size_t dst_total_plane_spacing, event_t event)
#define __global
The opencl __global namespace is not supported in C.
#define __local
The opencl __local namespace is not supported in C.
unsigned char event_t
event_t is not supported, so provide a harmless placeholder
static void TTL_import_base(const TTL_int_tensor_t internal_tensor, const TTL_const_ext_tensor_t external_tensor, TTL_event_t *event)
TTL_import.
static void TTL_export_base(const TTL_const_int_tensor_t internal_tensor, const TTL_ext_tensor_t external_tensor, TTL_event_t *const event)
Begin the asynchronous export of the external tensor to the internal tensor.
static void TTL_blocking_export_base(const TTL_const_int_tensor_t internal_tensor, const TTL_ext_tensor_t external_tensor)
Export the external tensor to the internal tensor returning when complete.
static void TTL_blocking_import_base(const TTL_int_tensor_t internal_tensor, const TTL_const_ext_tensor_t external_tensor)
Export the external tensor to the internal tensor returning when complete.
static void TTL_wait(const int num_events, TTL_event_t *const events)
static TTL_event_t TTL_get_event()
Return an empty event of type TTL_event_t.
__global const void * base
__local const void * base
TTL_dim_t row_spacing
The distance between the start of consequtive rows in units of elements.
TTL_dim_t plane_spacing
The distance between the start of consequtive planes in units of elements.
TTL_dim_t depth
Number of planes along dimension z.
TTL_dim_t width
Number of elements along dimension x.
TTL_dim_t height
Number of rows along dimension y.