mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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
This commit is contained in:
committed by
GitHub
parent
6dff4fdffa
commit
6f50623ba8
@@ -630,19 +630,12 @@ template <typename Ty, ArithmeticOp operation> struct SCEX_NU
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else if (active_work_items.size() == 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
tr = TypeManager<Ty>::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 <typename Ty, ArithmeticOp operation> struct SCEX_NU
|
||||
}
|
||||
tr = calculate<Ty>(tr, mx[ii + active_work_item],
|
||||
operation);
|
||||
idx++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user