21.02
|
Go to the source code of this file.
Macros | |
#define | CONVOLUTION1x3_BIFROST2X1_STRIDE1(acc, src0_left, src0_mid, src0_right, weights_row0) |
#define | CONVOLUTION1x3_BIFROST2X1_STRIDE2(acc, src0_left, src0_mid, src0_right, weights_row0) |
#define | CONVOLUTION1x3_BIFROST4X1_STRIDE1(acc, src0_left, src0_mid, src0_right, weights_row0) |
#define | CONVOLUTION1x3_BIFROST4X1_STRIDE2(acc, src0_left, src0_mid, src0_right, weights_row0) |
Functions | |
__global uchar * | ptr_offset (__global uchar *ptr, const int x, const int y, const int stride_x, const int stride_y) |
Get the pointer position at a certain offset in x and y direction. More... | |
#define CONVOLUTION1x3_BIFROST2X1_STRIDE1 | ( | acc, | |
src0_left, | |||
src0_mid, | |||
src0_right, | |||
weights_row0 | |||
) |
Definition at line 99 of file depthwise_convolution.cl.
#define CONVOLUTION1x3_BIFROST2X1_STRIDE2 | ( | acc, | |
src0_left, | |||
src0_mid, | |||
src0_right, | |||
weights_row0 | |||
) |
Definition at line 109 of file depthwise_convolution.cl.
#define CONVOLUTION1x3_BIFROST4X1_STRIDE1 | ( | acc, | |
src0_left, | |||
src0_mid, | |||
src0_right, | |||
weights_row0 | |||
) |
Definition at line 119 of file depthwise_convolution.cl.
#define CONVOLUTION1x3_BIFROST4X1_STRIDE2 | ( | acc, | |
src0_left, | |||
src0_mid, | |||
src0_right, | |||
weights_row0 | |||
) |
Definition at line 135 of file depthwise_convolution.cl.
|
inline |
Get the pointer position at a certain offset in x and y direction.
[in] | ptr | Pointer to the starting position of the buffer |
[in] | x | Relative X position |
[in] | y | Relative Y position |
[in] | stride_x | Stride of the source tensor in X dimension (in bytes) |
[in] | stride_y | Stride of the source tensor in Y dimension (in bytes) |
Definition at line 38 of file depthwise_convolution.cl.