Skip to content
Snippets Groups Projects
  1. Feb 13, 2025
  2. Jan 14, 2025
  3. Jan 03, 2025
    • Bartosz Podrygajlo's avatar
      Improve assert in completed_task_ans() · 75162adf
      Bartosz Podrygajlo authored
      This assert checks if the structure is correctly initialized. The structure
      is one-time use so the assert is valid, but the value of the atomic was added
      to the output to improve debugging.
      75162adf
  4. Dec 04, 2024
  5. Nov 27, 2024
  6. Sep 26, 2024
  7. Jun 27, 2024
  8. Jun 26, 2024
  9. Jun 03, 2024
  10. Jan 23, 2024
  11. Nov 10, 2023
  12. Aug 11, 2023
    • Robert Schmidt's avatar
      Fix alignment of Tpool user data to 32 bytes · f3c2c12f
      Robert Schmidt authored
      The thread pool provides user data to be stored by (pre-)allocating the
      necessary memory. A previous attempt was made to have this user data
      aligned on a 32 byte boundary (e.g., to prevent segfault with SIMD
      instructions, or avoid inefficient data access); the current
      implementation, however, leads to unaligned memory access.
      
      This patch attempts again to implement user data to be 32 byte aligned.
      First, use memalign() to allocate the actual job on a 32 byte boundary.
      Second, use alignas(32) to align the pointer to the user data to be
      aligned to 32 bytes. Since it is the last member of the struct, this
      ensures that user data, which is allocated right behind it, will be
      aligned to 32 bytes as well.
      f3c2c12f
  13. Jun 28, 2023
  14. Jun 12, 2023
  15. Apr 03, 2023
  16. Mar 09, 2023
  17. Feb 23, 2023
  18. Feb 17, 2023
  19. Nov 25, 2022
  20. Nov 21, 2022
  21. Oct 11, 2022
  22. Sep 02, 2022
  23. Aug 16, 2022
  24. Aug 04, 2022
  25. Mar 14, 2022
  26. Mar 01, 2022
  27. Feb 28, 2022
  28. Feb 25, 2022
Loading