fix windows debug test failure (#9635)

This commit is contained in:
Chenhu Wang authored and GitHub committed 2022-01-13 18:53:20 +03:00
1 parent 20d9d551eb
commit b33dcd02c6
3 files changed
+3 -6

No files matched your search

@@ -73,9 +73,6 @@ INTERPRETER.onnx_model_dequantize_linear_1d_zero_scale_uint8_negative_axis
INTERPRETER.onnx_if_inside_if
INTERPRETER.onnx_if_inside_loop
# Assertion failed: vector subscript out of range. Fails with Windows debug build only
IE_CPU.onnx_if_inside_if
# Legacy tests with unsupported features from opset4 LSTM/GRU/RNN
# Peepholes input unsupported
onnx_model_lstm_fwd_with_clip_peepholes
@@ -2341,7 +2341,7 @@ void MKLDNNInterpolateNode::execute(mkldnn::stream strm) {
src_data = src_data_origin;
}
execPtr->exec(src_data, dst_data, static_cast<const void*>(&postOpsDataPtrs[0]));
execPtr->exec(src_data, dst_data, postOpsDataPtrs.data());
}
// for ndhwc and nCdhw8c[16c]
@@ -2366,7 +2366,7 @@ inline void MKLDNNReduceNode::reduce_kernel_post_process(uint8_t *out_ptr) {
arg.channel_size = layout == ReduceLayoutType::reduce_nspc ? OW : OC; // OW is related to nspc-ncsp dimension reinterpret
arg.work_amount = OD * OH * OW;
arg.divisor = &divisor;
arg.post_op_data = static_cast<const void **>(&postOpsDataPtrs[0]);
arg.post_op_data = static_cast<const void **>(postOpsDataPtrs.data());
(*reduce_post_kernel)(&arg);
});
} else {
@@ -2379,7 +2379,7 @@ inline void MKLDNNReduceNode::reduce_kernel_post_process(uint8_t *out_ptr) {
arg.oc_off = ocb * blk_size * sizeof(float);
arg.work_amount = OD * OH * OW * blk_size;
arg.divisor = &divisor;
arg.post_op_data = static_cast<const void **>(&postOpsDataPtrs[0]);
arg.post_op_data = static_cast<const void **>(postOpsDataPtrs.data());
(*reduce_post_kernel)(&arg);
});
}