We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6d960d commit 7308d74Copy full SHA for 7308d74
src/gpu/ocl/ref_reorder.cpp
@@ -41,7 +41,7 @@ status_t ref_reorder_t::pd_t::init_conf(engine_t *engine) {
41
if (!IMPLICATION(
42
utils::one_of(src_mdw.data_type(), data_type::s4, data_type::u4)
43
|| utils::one_of(dst_mdw.data_type(), data_type::s4,
44
- data_type::s4),
+ data_type::u4),
45
dst_mdw.is_plain() && src_mdw.is_plain()))
46
return status::unimplemented;
47
@@ -116,7 +116,7 @@ status_t ref_reorder_t::pd_t::init_kernel_ctx(
116
117
int dst_contig_dim = -1;
118
if (dst_blk.inner_nblks > 0)
119
- dst_contig_dim = dst_blk.inner_blks[0];
+ dst_contig_dim = dst_blk.inner_idxs[0];
120
else
121
for (int i = 0; i < dst_md()->ndims; i++)
122
if (dst_blk.strides[i] == 1) dst_contig_dim = i;
0 commit comments