Skip to content

Commit 866312e

Browse files
kala855densamoilov
authored andcommitted
gpu: generic: sycl: resampling and matmul sycl-post-ops issues
1 parent 7131c1b commit 866312e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gpu/generic/sycl/ref_matmul.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ status_t ref_matmul_t::pd_t::init_conf() {
118118

119119
conf_.use_dropout = !attr()->dropout_.has_default_values();
120120

121-
conf_.post_ops = sycl_post_ops_t(attr());
121+
conf_.post_ops = sycl_post_ops_t(attr(), dst_md()->data_type);
122122

123123
for (auto i = 0; i < conf_.post_ops.get_post_op(); ++i) {
124124
const auto &e = attr()->post_ops_.entry_[i];

src/gpu/generic/sycl/ref_resampling.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ status_t ref_resampling_fwd_t::pd_t::init_conf() {
5050
}
5151
conf_.po_len = attr_po.len();
5252

53-
conf_.post_ops = sycl_post_ops_t(attr());
53+
conf_.post_ops = sycl_post_ops_t(attr(), dst_md()->data_type);
5454
return status::success;
5555
}
5656

0 commit comments

Comments
 (0)