Skip to content

Commit 1e654d1

Browse files
Correct mistake in the test that causes compilation error
1 parent 180daa5 commit 1e654d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsyclinterface/tests/test_sycl_device_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetSubGroupSizes)
208208
else
209209
EXPECT_TRUE(sg_sizes_len > 0);
210210
for (size_t i = 0; i < sg_sizes_len; ++i) {
211-
EXPECT_TRUE(sg_sizes > 0);
211+
EXPECT_TRUE(sg_sizes[i] > 0);
212212
}
213213
EXPECT_NO_FATAL_FAILURE(DPCTLSize_t_Array_Delete(sg_sizes));
214214
}

0 commit comments

Comments
 (0)