SWDEV-521760 - Fix and enable disabled HIP tests from cooperative groups group (#2027)

* Reworked Unit_hipLaunchCooperativeKernel_Basic and Unit_hipLaunchCooperativeKernelMultiDevice_Basic
* Introduce reduction_factor for coop groups tests. Fix Unit_Coalesced_Group_Tiled_Partition_Sync_Positive_Basic
* Fix always false requirement by adding a cast
* Change data type to unsigned long long to align with cuda
* Change literal type to double to ensure proper type casting
* Remove formatting comments
This commit is contained in:
amilanov-amd
2026-01-27 11:51:08 +01:00
committed by GitHub
orang tua c4a9567492
melakukan cac67a0f32
11 mengubah file dengan 226 tambahan dan 218 penghapusan
@@ -46,10 +46,6 @@
"Unit_hipGraphicsUnmapResources_Negative_Parameters",
"Unit_hipGraphicsUnregisterResource_Negative_Parameters",
"SWDEV-446588 - Disable graph multi gpu testcases until graph has support for it",
"=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/210 ===",
"Unit_Coalesced_Group_Tiled_Partition_Sync_Positive_Basic - uint8_t",
"Unit_Coalesced_Group_Tiled_Partition_Sync_Positive_Basic - uint16_t",
"Unit_Coalesced_Group_Tiled_Partition_Sync_Positive_Basic - uint32_t",
"SWDEV-447384, SWDEV-447932: These tests fail in gfx1100, gfx1101 & gfx1102",
"SWDEV-445928: These tests fail in PSDB stress test on 09/02/2024",
"Unit_hipGraphInstantiateWithFlags_StreamCaptureDeviceContextChg",
@@ -143,8 +139,6 @@
"Unit_hipStreamPerThread_MultiThread",
#endif
#if defined gfx90a || defined gfx942 || defined gfx950
"=== SWDEV-443630 : Below test failed in stress test on 19/01/24 ===",
"Unit_Multi_Grid_Group_Positive_Sync",
"Unit_Warp_Shfl_Up_Positive_Basic - int",
"Unit_Warp_Shfl_Up_Positive_Basic - unsigned int",
"Unit_Warp_Shfl_Up_Positive_Basic - long",
@@ -54,6 +54,9 @@ int main(int argc, char** argv) {
| Opt(cmd_options.cg_iterations, "cg_iterations")
["-C"]["--cg-iterations"]
("Number of iterations used for cooperative groups sync tests (default: 5)")
| Opt(cmd_options.cg_reduction_factor, "cg_reduction_factor")
["-C"]["--cg-reduction-factor"]
("Percentage of warp sizes for shuffle tests to be actually tested (default: 10)") // TODO
| Opt(cmd_options.accuracy_iterations, "accuracy_iterations")
["-A"]["--accuracy-iterations"]
("Number of iterations used for math accuracy tests with randomly generated inputs (default: 2^32)")