If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Element-by-element multiplication of complex matrix

I have one question with the problem "element-to-element multiplication of a complex matrix" for size larger than 8000x8000. In my GPU (Tesla C2075) with simple implementataion, the time delay is approx 200ms and is 60% of total time. This is to make Fourier-based convolution for image filtering using clFFT.

if someone know an efficient method for this problem (element-to-element multiplication of a complex matrix) help me please.

I work with 3d data (vector fields). In the last row each component (i.e. x, y and z) of the vector field stored in dataIn is multiplied with a certain factor taken from fx, fy or fz. You can easily simplify this to your problem.
The complex numbers are stored as float2 data type with first component being the real part and second the imaginary.
If you don't need the original data you can store the result directly in the source array.