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

Комментарии • 6

  • @cornstalkhands1
    @cornstalkhands1 Год назад +4

    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.

  • @motbus3
    @motbus3 Год назад +4

    I would take a moment to appreciate the fact that you teach how important and how to read the documentation properly.

    • @CoffeeBeforeArch
      @CoffeeBeforeArch  Год назад +1

      The devil is always in the details :^)
      Cheers,
      --Nick

  • @eladon19153
    @eladon19153 3 месяца назад

    at first I was reading it as 'fun, and safe' mathematics 😅
    Cool video!

  • @MickGardner-vc4us
    @MickGardner-vc4us Год назад +1

    getting into sussy math stuff, love it!