|
|
@ -55,7 +55,7 @@ inline cfloat conjf(cfloat a) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
__kernel void |
|
|
|
__kernel void |
|
|
|
mulAndScaleSpectrumsKernel( |
|
|
|
mulAndScaleSpectrumsKernel( |
|
|
|
__global const cfloat* a, |
|
|
|
__global const cfloat* a, |
|
|
|
__global const cfloat* b, |
|
|
|
__global const cfloat* b, |
|
|
|
float scale, |
|
|
|
float scale, |
|
|
@ -63,7 +63,7 @@ __kernel void |
|
|
|
uint cols, |
|
|
|
uint cols, |
|
|
|
uint rows, |
|
|
|
uint rows, |
|
|
|
uint mstep |
|
|
|
uint mstep |
|
|
|
) |
|
|
|
) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const uint x = get_global_id(0); |
|
|
|
const uint x = get_global_id(0); |
|
|
|
const uint y = get_global_id(1); |
|
|
|
const uint y = get_global_id(1); |
|
|
@ -75,7 +75,7 @@ __kernel void |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
__kernel void |
|
|
|
__kernel void |
|
|
|
mulAndScaleSpectrumsKernel_CONJ( |
|
|
|
mulAndScaleSpectrumsKernel_CONJ( |
|
|
|
__global const cfloat* a, |
|
|
|
__global const cfloat* a, |
|
|
|
__global const cfloat* b, |
|
|
|
__global const cfloat* b, |
|
|
|
float scale, |
|
|
|
float scale, |
|
|
@ -83,7 +83,7 @@ __kernel void |
|
|
|
uint cols, |
|
|
|
uint cols, |
|
|
|
uint rows, |
|
|
|
uint rows, |
|
|
|
uint mstep |
|
|
|
uint mstep |
|
|
|
) |
|
|
|
) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const uint x = get_global_id(0); |
|
|
|
const uint x = get_global_id(0); |
|
|
|
const uint y = get_global_id(1); |
|
|
|
const uint y = get_global_id(1); |
|
|
|