Skip to content

Commit

Permalink
Update include/cute/arch/copy_xe.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Atharva Dubey <[email protected]>
  • Loading branch information
mehdi-goli and AD2605 authored Apr 26, 2024
1 parent 0678c20 commit 844de1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/cute/arch/copy_xe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ struct XE_2D_U16x8x16x4x1_LD_N
int height, int pitch, int2_ coord,
T *dst) {
#if defined(ARCH_PVC_ACTIVATED)
static_assert(sizeof(T) == 2, "Expected T to have size 2");
*(ushort32*) dst = __builtin_IB_subgroup_block_read_flat_u16_m32k16v1(
long(baseoffset), width - 1, height - 1, pitch - 1, coord);
static_assert(sizeof(T) == 2, "Expected T to have size 2");
*(ushort32*) dst = __builtin_IB_subgroup_block_read_flat_u16_m32k16v1(
long(baseoffset), width - 1, height - 1, pitch - 1, coord);
#else
CUTE_INVALID_CONTROL_PATH("Trying to use block loads on non-PVC hardware")
CUTE_INVALID_CONTROL_PATH("Trying to use block loads on non-PVC hardware")
#endif
}
};
Expand Down

0 comments on commit 844de1e

Please sign in to comment.