Skip to content

Commit b17216c

Browse files
revert max_load_vec_elems (#4671)(#4663)
1 parent af7009e commit b17216c

File tree

1 file changed

+3
-3
lines changed
  • csrc/gpu/aten/operators/xetla/kernels/include/subgroup/tile/impl

1 file changed

+3
-3
lines changed

csrc/gpu/aten/operators/xetla/kernels/include/subgroup/tile/impl/load_xe.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ tile_load(tile_t& tile, payload_t& payload) {
398398
static constexpr gpu_arch arch_tag = payload_t::arch_tag;
399399

400400
using load_store_attr = load_store_attr_t<msg_type::block_1d, arch_tag>;
401-
static constexpr uint32_t max_load_vec_len = std::min(
402-
uint32_t(tile_t::block_elems * sizeof(dtype)),
403-
load_store_attr::max_load_vec_len);
401+
402+
static constexpr uint32_t max_load_vec_len =
403+
load_store_attr::max_load_vec_len;
404404

405405
static constexpr uint32_t max_load_vec_elems =
406406
max_load_vec_len / sizeof(dtype);

0 commit comments

Comments
 (0)