Skip to content

Commit c0816f9

Browse files
committed
gpu: intel: ocl: rnn: initialized ref_rnn_common_t member variables
1 parent 1edbb54 commit c0816f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gpu/intel/ocl/rnn/ref_rnn.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ struct _ref_rnn_common_t : public gpu_primitive_t {
8282

8383
status_t set_default_params();
8484

85-
rnn_utils::ocl_conf_t ocl_conf;
86-
rnn_offsets_t off;
85+
rnn_utils::ocl_conf_t ocl_conf = {};
86+
rnn_offsets_t off = {};
8787
rnn_utils::conf_t rnn_conf = {};
8888
data_type_t acc_data_t = data_type::undef;
8989
data_type_t src_type = data_type::undef;

0 commit comments

Comments
 (0)