Skip to content

Commit a9bba0b

Browse files
authored
Merge pull request #1989 from IntelPython/fix-compilation-error-of-test-sycl-device-interface-by-clang-20
Correct mistake in the test that causes compilation error
2 parents 180daa5 + 1e654d1 commit a9bba0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsyclinterface/tests/test_sycl_device_interface.cpp

+1-1
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)