Skip to content

Commit adec324

Browse files
authored
[SYCL][Joint Matrix][E2E] Updated code in tests: 'uint' --> 'unsigned int' for Windows compatibility (#11680)
1 parent c15763f commit adec324

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/Matrix/common.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ float make_fp32(bfloat16 x) {
3131
return *res;
3232
}
3333

34-
template <typename Ta, typename Tb, typename Tc, uint VF = 1>
34+
template <typename Ta, typename Tb, typename Tc, unsigned int VF = 1>
3535
void matrix_multiply_ref(Ta *A, Tb *B, Tc *C, int M, int N, int K,
3636
bool transpose_c = false, bool colmajor_a = false,
3737
bool colmajor_b = false) {
@@ -47,7 +47,7 @@ void matrix_multiply_ref(Ta *A, Tb *B, Tc *C, int M, int N, int K,
4747
Tb *vb = (Tb *)(B + b_ind * VF);
4848
Tc acc = *(C + c_ind);
4949

50-
for (uint i = 0; i < VF; i++) {
50+
for (unsigned int i = 0; i < VF; i++) {
5151
if constexpr (std::is_same_v<Ta, bfloat16> &&
5252
std::is_same_v<Tc, float>)
5353
acc += make_fp32(va[i]) * make_fp32(vb[i]);

0 commit comments

Comments
 (0)