Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: fastRTS funcion call does not pipeline

$
0
0

Hi,

I have a couple of issues with the fastRTS log2sp() function call, but I believe this to be more general and affecting all functions...

I want to replace my manual implementation of log2() with the one in the fastRTS in order to compare performance and precision.

1- the main issue is that the function call does not pipeline (due to function call), whereas my "inline" implementation does. Is this expected?! Measuring the cycles this way does not give a good result, obviously. 

2- The audio flowing through my app is broken. which means the function call does not work correctly. I rebuilt the fastRTS lib using the --target_compatibility_6200 since I needed a 4byte struct alignment for compatibility with my project. could this be the cause??

 Besides, Do I need to put it into a dedicated sample loop to make it match the benchmark results?

here is the snippet:

for (int t = 0; t < buffersize; t++)
{
     float aIn = temp[t];
     float aOut = log2sp(aIn);
     temp[t] = aOut;
}

Let me know.


Viewing all articles
Browse latest Browse all 91752

Trending Articles