Skip to content

Commit

Permalink
benchdnn: rnn: fix skip unimplemented conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Jan 22, 2025
1 parent 188ddeb commit 67d2ef1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/benchdnn/rnn/rnn.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2018-2024 Intel Corporation
* Copyright 2018-2025 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -780,7 +780,8 @@ void skip_unimplemented_prb(const prb_t *prb_, res_t *res) {
}
#endif
// cpu backward only supports `any` or `abx` layouts for weights
if (IMPLICATION(prb.prop == dnnl_backward, prb.tag[1] != tag::abx)) {
if (prb.prop == dnnl_backward && prb.tag[1] != tag::abx
&& prb.tag[1] != tag::any) {
res->state = SKIPPED;
res->reason = skip_reason::case_not_supported;
return;
Expand Down

0 comments on commit 67d2ef1

Please sign in to comment.