Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6713 Discussions

ippsCdbkInitAlloc_L2_32f returns ippStsBadArgErr... What does it mean?

emilio_maggio
Beginner
244 Views

Hi

looking at the documentation when the function ippsCdbkInitAlloc returns ippStsBadArgErr this means:

ippStsBadArgErr

Indicates an error when one of pWgt is less than 0.

however ippsCdbkInitAlloc_L2_32f does not have as argument pWgt.

Anybody knows what does it mean in my case?

I do not get the always the error only when the source data or cdbkSize is larger than a certain value. For exampleheight= 300000, width=96 andcdbkSize= 259, hint = IPP_CDBK_KMEANS_NUM

thanks

Emilio

0 Kudos
1 Reply
Intel_C_Intel
Employee
244 Views

Hi, Emilio,

There are 4 functions in the paragraph CdbkInitAlloc (p 8-193 of the IPP 5.1 manual):

ippsCdbkInitAlloc_L2_16s, ippsCdbkInitAlloc_L2_32f, ippsCdbkInitAlloc_WgtL2_16s, ippsCdbkInitAlloc_WgtL2_32f

pWgt argument is used in last 2 functions for weighted distance

Argument values you listed are correct. Does "I do not get the always the error only when " mean that you got errorreturn code for some normal data? Could you write for what argument values?

Alexander

0 Kudos
Reply