Skip to content

Commit 5a6d59a

Browse files
authored
generic: sycl: binary: bugfix post ops with blocked formats (#2162)
1 parent 3b8f5cd commit 5a6d59a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/gpu/generic/sycl/binary_kernels.hpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ struct binary_kernel_vec_t {
141141

142142
auto acc = compute_alg_n(src0, src1, conf_.alg_kind);
143143

144+
int dst_idx = dst_mem.md().off_v(off_dst);
144145
acc = conf_.post_ops.apply(
145-
acc, dst_, idx, po_args_, off_dst);
146-
dst_mem.store_md(acc, off_dst);
146+
acc, dst_, dst_idx, po_args_, off_dst);
147+
dst_mem.store(acc, dst_idx);
147148
}
148149
}
149150
}

0 commit comments

Comments
 (0)