Quantcast
Channel: Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1294

ippiTranspose_32f_C1R: Wrong output

$
0
0

Hello,

Based on Intel's example, I used the following code:

Ipp32f src[8*4] = {1, 2, 3, 4, 8, 8, 8, 8,

                            1, 2, 3, 4, 8, 8, 8, 8,

                            1, 2, 3, 4, 8, 8, 8, 8,

                            1, 2, 3, 4, 8, 8, 8, 8};

Ipp32f dst[4*4];

IppiSize srcRoi = { 4, 4 };

ippiTranspose_32f_C1R ( src, 8, dst, 4, srcRoi );

The output is:

{ 1, 2, 3, 4,

  8, 8, 2, 0xCCCCCCCC,

  0xCCCCCCC, 0xCCCCCC, 0xCCCCCCCC, 0xCCCCCCCC,

  0xCCCCCCC, 0xCCCCCC, 0xCCCCCCCC, 0xCCCCCCCC}

 

Can you please explain what is wrong in my code ?

The original code is using Ipp8u. 

Thank you,

Zvika 


Viewing all articles
Browse latest Browse all 1294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>