26 #if defined(DATA_TYPE) && defined(CONSTANT_VALUE) // Check for compile time constants 50 #if defined(LAST_ACCESSED_X) 53 const int xi = (int)(get_global_id(0) *
VEC_SIZE);
54 tensor.
ptr -= max(xi - (
int)LAST_ACCESSED_X, 0) * tensor_stride_x;
55 #endif // defined(LAST_ACCESSED_X) 62 #else // !defined(VEC_SIZE) 64 #endif // defined(VEC_SIZE) 67 #endif // Check for compile time constants
Structure to hold 3D tensor information.
#define CONVERT_TO_TENSOR3D_STRUCT(name)
__global uchar * ptr
Pointer to the starting postion of the buffer.
#define TENSOR3D_DECLARATION(name)
#define VEC_DATA_TYPE(type, size)