mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
subgroups: fix Wsign-compare warnings (#1778)
The subgroup and workgroup sizes reported by clGetKernelSubGroupInfo and clGetKernelWorkGroupInfo are of type `size_t`. Avoid changing the values to an `int` type as they are propagated through the tests and then compared against `size_t` again. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
46fde8d051
commit
c23631c690
@@ -44,7 +44,7 @@ cl_uint4 generate_bit_mask(cl_uint subgroup_local_id,
|
||||
// for each subgroup values defined different values
|
||||
// for rest of workitems set 1 shuffle values
|
||||
void fill_and_shuffle_safe_values(std::vector<cl_ulong> &safe_values,
|
||||
int sb_size);
|
||||
size_t sb_size);
|
||||
|
||||
struct WorkGroupParams
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user