Skip to content

Commit 624875f

Browse files
sgeor255t4c1
andauthored
Update src/gpu/generic/sycl/ref_convolution.cpp
Co-authored-by: Tadej Ciglarič <tadej.ciglaric@codeplay.com>
1 parent a8999db commit 624875f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpu/generic/sycl/ref_convolution.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ status_t ref_convolution_bwd_data_t::init(impl::engine_t *engine) {
136136
}
137137

138138
status_t ref_convolution_bwd_data_t::execute(const exec_ctx_t &ctx) const {
139-
if (memory_desc_wrapper(pd()->dst_md()).size() == 0) return status::success;
139+
if (memory_desc_wrapper(pd()->diff_src_md()).size() == 0) return status::success;
140140

141141
parallel_for(ctx, kernel_, [&](::sycl::handler &cgh) {
142142
convolution_kernel_bwd_data_t convolution_kernel(pd()->conf_, cgh, ctx);

0 commit comments

Comments
 (0)