Skip to content

Commit a525995

Browse files
[SYCL][ESIMD][EMU] Template argument fix (uint->int) (#6223)
Missing changes in PR#6099 for Windows target
1 parent 9c39a30 commit a525995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/sycl/ext/intel/experimental/esimd/detail/memory_intrin.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ void __esimd_emu_lsc_offset_write(
426426

427427
/// Generic helper function of 2D Block Read supporting both 2d-load
428428
/// and raw_send
429-
template <typename Ty, uint N>
429+
template <typename Ty, int N>
430430
__ESIMD_DNS::vector_type_t<Ty, N>
431431
__esimd_emu_read_2d(__ESIMD_DNS::simd_mask_storage_t<N> Pred, uintptr_t Ptr,
432432
unsigned SurfaceWidth, unsigned SurfaceHeight,
@@ -535,7 +535,7 @@ __esimd_emu_read_2d(__ESIMD_DNS::simd_mask_storage_t<N> Pred, uintptr_t Ptr,
535535

536536
/// Generic helper function of 2D Block Write supporting both
537537
/// 2d-write and raw_send
538-
template <typename Ty, uint N>
538+
template <typename Ty, int N>
539539
void __esimd_emu_write_2d(__ESIMD_DNS::simd_mask_storage_t<N> Pred,
540540
uintptr_t Ptr, unsigned SurfaceWidth,
541541
unsigned SurfaceHeight, unsigned SurfacePitch, int X,

0 commit comments

Comments
 (0)