3 ms·
What does that have to do with what I wrote? At least compare maths function apples with apples. Most of the point of optimized L3 BLAS is optimizing for memo
by gnufx 5y ago
What does that have to do with what I wrote? At least compare maths function apples with apples.
Most of the point of optimized L3 BLAS is optimizing for memory so it's compute-bound asymptotically but, for instance, header-only libxsmm isn't normal BLAS.
(I'm used to just using -Ofast to get vectorization, not having to include a special library.)
- celrod 5y agoIf you want the -Ofast equivalent in Julia, there is @fastmath. LoopVectorization.jl is substantially more powerful. It also has tons of limitations, but I am rewriting it to fix most of them. Disclosure: I'm the primary author of both SimpleChains.jl and LoopVectorization.jl.
- krastanov 5y agoCould you elaborate on "just using -Ofast to get vectorization"? I can not really believe this works for anything but the simplest of kernels.
- ChrisRackauckas 5y ago-Ofast can replace some functions with more vectorizable versions (in Julia terms, tanh to tanh_fast) which can then let the compiler optimization passes add SIMD where they see fit. The issue that we've seen though is that the compiler optimization passes really do not perform as well as you'd hope.