Parallel C++: Unsafe Math Optimizations
HTML-код
- Опубликовано: 10 окт 2024
- In this video we look at the impact of unsafe math optimizations on performance and numerics!
GCC Optimization Options: gcc.gnu.org/on...
Intel Development Reference Guide: www.intel.com/...
What Every Programmer Should Know About Floating Point Arithmetic: docs.oracle.co...
For code samples: github.com/coff...
For live content: / coffeebeforearch
Why did 2_tuned give the same result as 1_unsafe? It was compiled without -funsafe-math and the intrinsics page for _mm256_dp_ps makes no mention of an intermediate infinite precision result store.
I would take a moment to appreciate the fact that you teach how important and how to read the documentation properly.
The devil is always in the details :^)
Cheers,
--Nick
at first I was reading it as 'fun, and safe' mathematics 😅
Cool video!
getting into sussy math stuff, love it!
Glad you liked the video :^)
Cheers,
--Nick