fixed compile errors on ARM, as well as failures in OCL_Dft* regression tests

This commit is contained in:
Vadim Pisarevsky
2015-05-06 10:00:10 +03:00
parent 0ee8634b2f
commit d280205245
2 changed files with 13 additions and 0 deletions

View File

@@ -574,6 +574,16 @@ __kernel void fft_multi_radix_rows(__global const uchar* src_ptr, int src_step,
#pragma unroll
for (int i=x; i<cols; i+=block_size)
dst[i] = SCALE_VAL(smem[i], scale);
#ifdef REAL_INPUT
#ifdef COMPLEX_OUTPUT
#ifdef IS_1D
for(int i=x+1; i < (dst_cols+1)/2; i+=block_size)
{
dst[dst_cols-i] = (CT)(SCALE_VAL(smem[i].x, scale), SCALE_VAL(-smem[i].y, scale));
}
#endif
#endif
#endif
#else
// pack row to CCS
__local FT* smem_1cn = (__local FT*) smem;