Concurrent Programming: SIMD

Sdílet
Vložit
  • čas přidán 20. 08. 2024

Komentáře • 3

  • @loject
    @loject Před měsícem +1

    More correct to use _mm256_store_epi32 instead of c like assignment

  • @arl-t8d
    @arl-t8d Před měsícem +1

    What about clearing the screen with memset?

    • @GetIntoGameDev
      @GetIntoGameDev  Před měsícem

      It works but it’s a little slower than simd (1800 fps vs 2300 in debug mode, 2300 vs 3000 fps in release), and because memset converts the int to a byte it only works for grayscale colors.