Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 9992b63

Browse files
authored
[SYCL][ESIMD] Add tests for SVM gather/scatter with 1,2,4 elements (#912)
Signed-off-by: Sergey Dmitriev <[email protected]>
1 parent e3ff348 commit 9992b63

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

SYCL/ESIMD/api/svm_gather_scatter.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,30 @@ int main(void) {
7979

8080
bool Pass = true;
8181

82+
Pass &= test<int8_t, 1>(Q);
83+
Pass &= test<int8_t, 2>(Q);
84+
Pass &= test<int8_t, 4>(Q);
8285
Pass &= test<int8_t, 8>(Q);
8386
Pass &= test<int8_t, 16>(Q);
8487
Pass &= test<int8_t, 32>(Q);
8588

89+
Pass &= test<int16_t, 1>(Q);
90+
Pass &= test<int16_t, 2>(Q);
91+
Pass &= test<int16_t, 4>(Q);
8692
Pass &= test<int16_t, 8>(Q);
8793
Pass &= test<int16_t, 16>(Q);
8894
Pass &= test<int16_t, 32>(Q);
8995

96+
Pass &= test<int32_t, 1>(Q);
97+
Pass &= test<int32_t, 2>(Q);
98+
Pass &= test<int32_t, 4>(Q);
9099
Pass &= test<int32_t, 8>(Q);
91100
Pass &= test<int32_t, 16>(Q);
92101
Pass &= test<int32_t, 32>(Q);
93102

103+
Pass &= test<half, 1>(Q);
104+
Pass &= test<half, 2>(Q);
105+
Pass &= test<half, 4>(Q);
94106
Pass &= test<half, 8>(Q);
95107
Pass &= test<half, 16>(Q);
96108
Pass &= test<half, 32>(Q);

0 commit comments

Comments
 (0)