Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Circular correlation

serg_e999
Beginner
1,004 Views
How to switch from default "liner" to "circular" kind
of correlation?
0 Kudos
5 Replies
serg_e999
Beginner
1,004 Views
I'm using windows version of the lib.

According to mkl.chm,
table "Convolution and Correlation Task Parameters",
parameter "int kind"
"Specifies whether the task relates to computing linear or circular convolution/correlation"

Please, tell me how to change this parameter!?
(doubling of input is not quite convenient :) )
0 Kudos
Andrey_G_Intel2
Employee
1,004 Views

I think, vslsConvNewTask/vslsCorrNewTask functions shoul help you.

Andrey

0 Kudos
serg_e999
Beginner
1,004 Views
vslsConvNewTask(task, mode, dims, xshape, yshape, zshape);
Where mode is for "whether the convolution/correlation computation should be done via Fourier transforms, or by a direct method, or by automatically choosing between the two"
No "kind" mentioned again.
0 Kudos
Andrey_G_Intel2
Employee
1,004 Views
I spoke with conv/corr developers and they said what circuitconv/corr not supported now.
0 Kudos
serg_e999
Beginner
1,004 Views
Thanks...
Removing those few lines from the documentation would save me a lot of time... :(
0 Kudos
Reply