- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello,
Until now, I've worked with IPP using only the image processing library ("ippi... functions"). Because I work my OS is 64 bits, I've included -lippsem64t, but however, if I want to use ippsMalloc, the compilator throws a "Undefined reference to ippsMalloc". How could I check if this function has well been linked please?
Thanks in advance!
Until now, I've worked with IPP using only the image processing library ("ippi... functions"). Because I work my OS is 64 bits, I've included -lippsem64t, but however, if I want to use ippsMalloc, the compilator throws a "Undefined reference to ippsMalloc". How could I check if this function has well been linked please?
Thanks in advance!
Lien copié
7 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I have found the mistake: the manual shows on page 557 the function ippsMalloc(size), which doesn't exist. However, it works well with ippsMalloc_8u(size)...
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Again, not sure what version of IPP you are talking about, the online documentation provides you correct example of Using the function ippsMalloc
Vladimir
Vladimir
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Bibi88,
It is right, no function calls ippMalloc, it only has function called ippsMalloc_8u, ippsMalloc_16s, ippsMalloc_8s, etc. You need to choose one according to the data type you need.
Thanks,
Chao
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Here is the IPP webpage where I found an example using ippsMalloc (without any type):
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/index.htm#IPPS/ipps_ch3/functn_ippsMalloc.htm
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/index.htm#IPPS/ipps_ch3/functn_ippsMalloc.htm
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello,
In that URL, the example code, itused _8u function (ippsMalloc_8u), 'ippsFree'function do not have the type.
Ipp8u* pBuf = ippsMalloc_8u(8*sizeof(Ipp8u));
if(NULL == pBuf) // not enough memory
ippsFree(pBuf);
Thanks,
Chao
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Sorry for the mistake, it was this link (bad copy-paste, my fault):
http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi_ch8/functn_MorphReconstructDilate.html
http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi_ch8/functn_MorphReconstructDilate.html
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
thanks for pointing it out. This is typo in that example, and need to be fix. It needs either use 'ippsMalloc_8u' function, or 'ippMalloc' ( no 's' here) from IPP core libraries.
Regards,
Chao
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable