Skip to content

Commit 062a29d

Browse files
author
Fomenko, Evarist M
committed
cpu: conv: wino: prohibit copy and assignment for some kernels
1 parent 1038da5 commit 062a29d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/cpu/jit_avx512_common_convolution_winograd.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ struct _jit_avx512_common_convolution_winograd_t {
7878
float *bias_ptr,
7979
const memory_tracking::grantor_t &scratchpad) const;
8080
_jit_avx512_common_conv_winograd_data_kernel_f32 *kernel_;
81+
82+
private:
83+
DNNL_DISALLOW_COPY_AND_ASSIGN(_jit_avx512_common_convolution_winograd_t);
8184
};
8285

8386
struct jit_avx512_common_convolution_winograd_fwd_t

src/cpu/jit_avx512_core_f32_wino_conv_4x3.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ struct _jit_avx512_core_f32_wino_conv_4x3_t {
108108
const memory_tracking::grantor_t &scratchpad) const;
109109
_jit_avx512_core_f32_wino_conv_4x3_data_kernel *kernel_;
110110
const primitive_attr_t *attr_;
111+
112+
private:
113+
DNNL_DISALLOW_COPY_AND_ASSIGN(_jit_avx512_core_f32_wino_conv_4x3_t);
111114
};
112115

113116
struct jit_avx512_core_f32_wino_conv_4x3_fwd_t

0 commit comments

Comments
 (0)