IPP on Windows
-
Hello to all,
If I compile HISE and want to use IPP, I have to enter USE_IPP=1 in the preprocessor field.
Do I also have to do this when compiling a plug-in or is it enough to check the “Use IPP” box within HISE?
Thank you
Oli -
@Oli-Ullmann said in IPP on Windows:
it enough to check the “Use IPP” box?
Checking the box should add that flag in your JUCE project I believe, but you can always add it to the preprocessor definitions as well to be sure.
-
@d-healey Ok, if it doesn't cause any problems when I add it manually as well, I'll do that. Thanks to you! :-)
-
@Oli-Ullmann When using Convolution reverb, we’ve experienced distortion problems for some users with IPP on Windows. Normally you don’t need it for macOS, so no need to use it on Windows too
-
@orange said in IPP on Windows:
Normally you don’t need it for macOS, so no need to use it on Windows too
On MacOS you don't need it because Apple provides their own equivalent - and also I don't think IPP works on Arm chips.
On Windows you will get a performance boost from using IPP - if it's giving your glitches then it would be good to track them down and hopefully Christoph can fix it.
-
@d-healey Please, someone try to explain what the difference is in a standalone app with ipp enabled or without ipp. Can you explain what ipp is and why I need it? Thank you.
-
@Robert-Puza IPP is a library that HISE can make use of to improve the performance of FFT (Fast Fourier transform) calculations - used in modules like the convolution reverb.
If you are using a module that makes use of FFT then using IPP could improve the CPU performance of your plugin. If you don't use IPP then HISE will fall back to a less efficient algorithm.
IPP is not GPL licensed so I wouldn't use it in a GPL project - although I'm not 100% sure about the licensing issues here.
I use FFTW3 in my GPL projects which has similar performance to IPP (depending on the benchmark). But it requires a bit of work to set it up (especially on Windows).
-
@d-healey ok. Thank You
-
It's also a good idea when your bladder is full.