You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is suprising, since PowerBox is based on FFTW, a highly optimized C library for Fourier Transforms. We have excluded the warmup execution time of the JAX JIT compiler, which includes optimization and compilation of the function. For this reason, you might not see a speedup but a slowdown if powerbox is replaced with cosmax naively.
47
-
Generally speaking, the performance gains of cosmax are felt, when the power spectrum calculations are done **repeatedly**, e.g. in optimization loops.
47
+
Generally speaking, the performance gains of cosmax are felt, when the power spectrum calculations are done **repeatedly**, e.g. in optimization loops. Note that this performance improvmenet does not originate from any smart performance increasing tricks used in cosmax, but rather the power of XLA and JAX.
0 commit comments