We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc609de commit eea4806Copy full SHA for eea4806
sycl/unittests/accessor/HostAccessor.cpp
@@ -11,7 +11,7 @@ TEST(HostAccessor, ZeroDimAccessor) {
11
AccT acc = {data_buf};
12
13
ASSERT_EQ(acc.get_size(), sizeof(DataT));
14
- ASSERT_EQ(acc.size(), 1);
+ ASSERT_EQ(acc.size(), static_cast<size_t>(1));
15
16
DataT &ref = acc;
17
ASSERT_EQ(ref, data);
0 commit comments