21.05
Tensor3D Struct Reference

Structure to hold 3D tensor information. More...

#include <helpers.h>

## Data Fields

__global uchar * ptr
Pointer to the starting postion of the buffer. More...

int offset_first_element_in_bytes
The offset of the first element in the source image. More...

int stride_x
Stride of the image in X dimension (in bytes) More...

int stride_y
Stride of the image in Y dimension (in bytes) More...

int stride_z
Stride of the image in Z dimension (in bytes) More...

## Detailed Description

Structure to hold 3D tensor information.

Definition at line 683 of file helpers.h.

## ◆ offset_first_element_in_bytes

 int offset_first_element_in_bytes

The offset of the first element in the source image.

Definition at line 686 of file helpers.h.

Referenced by tensor3D_index2ptr(), and update_tensor3D_workitem_ptr().

## ◆ ptr

 __global uchar* ptr

Pointer to the starting postion of the buffer.

Definition at line 685 of file helpers.h.

## ◆ stride_x

 int stride_x

Stride of the image in X dimension (in bytes)

Definition at line 687 of file helpers.h.

Referenced by tensor3D_index2ptr(), and tensor3D_offset().

## ◆ stride_y

 int stride_y

Stride of the image in Y dimension (in bytes)

Definition at line 688 of file helpers.h.

Referenced by tensor3D_index2ptr(), and tensor3D_offset().

## ◆ stride_z

 int stride_z

Stride of the image in Z dimension (in bytes)

Definition at line 689 of file helpers.h.

Referenced by tensor3D_index2ptr(), and tensor3D_offset().

The documentation for this struct was generated from the following file: