26 #if defined(VEC_SIZE) && defined(DATA_TYPE) 50 __kernel
void fft_digit_reverse_axis_0(
60 const unsigned int iidx = *((__global uint *)(idx.
ptr));
68 #else // VEC_SIZE == 1 69 #error "vec_size of 1 and 2 are supported" 70 #endif // VEC_SIZE == 1 79 #else // VEC_SIZE == 1 80 #error "vec_size of 1 and 2 are supported" 81 #endif // VEC_SIZE == 1 86 #else // defined(CONJ) 88 #endif // defined(CONJ) 114 __kernel
void fft_digit_reverse_axis_1(
124 const unsigned int iidx = *((__global uint *)
vector_offset(&idx, (
int)(get_global_id(1))));
132 #else // VEC_SIZE == 1 133 #error "vec_size of 1 and 2 are supported" 134 #endif // VEC_SIZE == 1 143 #else // VEC_SIZE == 1 144 #error "vec_size of 1 and 2 are supported" 145 #endif // VEC_SIZE == 1 150 #else // defined(CONJ) 152 #endif // defined(CONJ) 154 #endif // defined(VEC_SIZE) && defined(DATA_TYPE) Structure to hold Vector information.
Structure to hold 3D tensor information.
SimpleTensor< float > src
#define CONVERT_TO_TENSOR3D_STRUCT_NO_STEP(name)
#define CONVERT_TO_VECTOR_STRUCT(name)
#define VECTOR_DECLARATION(name)
__global uchar * ptr
Pointer to the starting postion of the buffer.
#define CONVERT_TO_TENSOR3D_STRUCT(name)
__global const uchar * vector_offset(const Vector *vec, int x)
Get the pointer position of a Vector.
__global uchar * ptr
Pointer to the starting postion of the buffer.
#define TENSOR3D_DECLARATION(name)
#define CONVERT_TO_VECTOR_STRUCT_NO_STEP(name)
__global const uchar * tensor3D_offset(const Tensor3D *tensor, int x, int y, int z)
Get the pointer position of a Tensor3D.
#define VEC_DATA_TYPE(type, size)