Commit grafiek

4 Commits

Auteur SHA1 Bericht Datum
Aidan Belton-Schure 5fd10bc7bc SWDEV-462483 - Add test for shfl_xor_sync with small numbered groups
Change-Id: I8bd91bed686163bcb6582d16e4ff842af84a7d36
2025-01-20 10:01:31 -05:00
Branislav Brzak 3a20cff19b SWDEV-441986 - Create tests for divergent execution of warp_sync builtins
Change-Id: If9ce0bdb0974732b692c779c7cae5527cec2fc83
2024-12-10 04:15:11 -05:00
Vladana Stojiljkovic 9893726343 SWDEV-453145 - Enable _sync tests on nvidia
* _sync tests that use warp match functions (__match_any_sync and __match_all_sync) were disabled for nvidia because those functions are supported only on devices with compute capability 7.x or higher. In this solution, tests are always build (with specifying appropriate compile flag) and in in the runtime it is decided weather they should be skipped or not.

Change-Id: Ifa9e55f3b47aa3a00027cb986cd6ae46aed45ebd
2024-12-03 13:49:16 -05:00
Sameer Sahasrabuddhe 53f0a9bd01 SWDEV-453422: introduce warp sync tests
The following builtins are tested:

  - __all_sync, __any_sync, __ballot_sync and __activemask
  - __match_any_sync and __match_all_sync
  - __shfl_sync, __shfl_up_sync, __shfl_down_sync, and __shfl_xor_sync

The tests for shfl (all variants) were manually validated on a CUDA setup.

NOTE:

  - Unit_hipVoteSync_All temporarily disabled on Windows (SWDEV-452308).
  - All new tests temporarily disabled on CUDA (SWDEV-453145).

Change-Id: I84b205a88aa24219d199c760793e2f19f0cf8f13
2024-05-03 08:58:23 -04:00