Commit 309f7778 authored by peastman's avatar peastman
Browse files

Fixed a bug in OpenCL FFT

parent afae4bc8
...@@ -51,10 +51,10 @@ __kernel void execFFT(__global const INPUT_TYPE* restrict in, __global OUTPUT_TY ...@@ -51,10 +51,10 @@ __kernel void execFFT(__global const INPUT_TYPE* restrict in, __global OUTPUT_TY
data0[get_local_id(0)] = in[x*(YSIZE*ZSIZE)+y*ZSIZE+get_local_id(0)%ZSIZE]; data0[get_local_id(0)] = in[x*(YSIZE*ZSIZE)+y*ZSIZE+get_local_id(0)%ZSIZE];
#endif #endif
#endif #endif
barrier(CLK_LOCAL_MEM_FENCE);
#if OUTPUT_IS_PACKED #if OUTPUT_IS_PACKED
} }
#endif #endif
barrier(CLK_LOCAL_MEM_FENCE);
COMPUTE_FFT COMPUTE_FFT
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment