Skip to content

Commit 0dec96e

Browse files
committed
refine code
1 parent d84f1d8 commit 0dec96e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/cute/arch/xe_copy_1B.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ struct XE_2D_U8x32x32_LD_N {
450450
#if defined(SYCL_INTEL_TARGET)
451451
//detail::XeSubgroup2DBlockPrefetch<1, 32, 32, 1>{}(baseoffset, width, height, pitch, coord);
452452
__builtin_IB_subgroup_block_read_prefetch_u8_m32k32v1(
453-
(intptr_t)(baseoffset), width, height, pitch, coord, CacheControl::kL1C_L3C);
453+
(intptr_t)(baseoffset), width-1, height-1, pitch-1, coord, CacheControl::kL1C_L3C);
454454
#else
455455
CUTE_INVALID_CONTROL_PATH("Trying to use block loads on non-PVC hardware");
456456
#endif

0 commit comments

Comments
 (0)