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

RandGaussInit

snowleopard7
Beginner
495 Views

There are 3 versions of ippsRandGauss, _8u, _16s, and _32f. However, there is only one version of of the init function, ippsRandGaussInit_16s. There are all 3 versions of ippsRandGaussInitAlloc, but they are being depricated. So Intel, are you going to provide the other two init functions?  Sure would be nice.  Thanks

0 Kudos
3 Replies
Igor_A_Intel
Employee
495 Views

Hi,

you are right - the new API will be introduced in 8.0:

IPPAPI(IppStatus, ippsRandGauss_8u,  (Ipp8u* pDst,  int len, IppsRandGaussState_8u*  pRandGaussState))
IPPAPI(IppStatus, ippsRandGauss_16s, (Ipp16s* pDst, int len, IppsRandGaussState_16s* pRandGaussState))
IPPAPI(IppStatus, ippsRandGauss_32f, (Ipp32f* pDst, int len, IppsRandGaussState_32f* pRandGaussState))

IPPAPI(IppStatus, ippsRandGaussGetSize_8u,  (int * pRandGaussStateSize))
IPPAPI(IppStatus, ippsRandGaussGetSize_16s, (int * pRandGaussStateSize))
IPPAPI(IppStatus, ippsRandGaussGetSize_32f, (int * pRandGaussStateSize))

IPPAPI(IppStatus, ippsRandGaussInit_8u,  (IppsRandGaussState_8u* pRandGaussState,
                                   Ipp8u mean, Ipp8u stdDev, unsigned int seed))
IPPAPI(IppStatus, ippsRandGaussInit_16s, (IppsRandGaussState_16s* pRandGaussState,
                                   Ipp16s mean, Ipp16s stdDev, unsigned int seed))
IPPAPI(IppStatus, ippsRandGaussInit_32f, (IppsRandGaussState_32f* pRandGaussState,
                                   Ipp32f mean, Ipp32f stdDev, unsigned int seed))

regards, Igor

0 Kudos
Gennady_F_Intel
Moderator
495 Views

we will let you know when this version will be publicly available.

0 Kudos
Gennady_F_Intel
Moderator
495 Views

fyi - all of these API's were added into version 8.0 which has been released recently. 

0 Kudos
Reply