From 6f50623ba867ee5a847464e15937b1a9bda3506c Mon Sep 17 00:00:00 2001 From: Grzegorz Wawiorko Date: Thu, 25 Nov 2021 14:41:06 +0100 Subject: [PATCH] Subgroups tests - sub_group_non_uniform_scan_exclusive function fixes (#1350) * Fix - comparing results will never happen. * No special action needed for one work item in the subgroup --- test_conformance/subgroups/subgroup_common_templates.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test_conformance/subgroups/subgroup_common_templates.h b/test_conformance/subgroups/subgroup_common_templates.h index cfe02c2f..64b4b971 100644 --- a/test_conformance/subgroups/subgroup_common_templates.h +++ b/test_conformance/subgroups/subgroup_common_templates.h @@ -630,19 +630,12 @@ template struct SCEX_NU { continue; } - else if (active_work_items.size() == 1) - { - continue; - } else { tr = TypeManager::identify_limits(operation); - int idx = 0; for (const int &active_work_item : active_work_items) { rr = my[ii + active_work_item]; - if (idx == 0) continue; - if (!compare_ordered(rr, tr)) { log_error( @@ -655,7 +648,6 @@ template struct SCEX_NU } tr = calculate(tr, mx[ii + active_work_item], operation); - idx++; } } }