diff --git a/tests/benchdnn/rnn/rnn.cpp b/tests/benchdnn/rnn/rnn.cpp index 48953798112..de21625782f 100644 --- a/tests/benchdnn/rnn/rnn.cpp +++ b/tests/benchdnn/rnn/rnn.cpp @@ -199,7 +199,7 @@ inline int init_pd(const prb_t *p, mkldnn_rnn_desc_t rd[2], if (init_status == mkldnn_unimplemented) return r->state = UNIMPLEMENTED, OK; else - SAFE(init_status, WARN); + DNN_SAFE(init_status, WARN); } if (is_bwd) {