Skip to content

Commit 79d435e

Browse files
committed
benchdnn: graph: remove check for no_ref_mem
1 parent b2e0b87 commit 79d435e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/benchdnn/graph/bench_graph.cpp

-12
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@ void check_correctness(const settings_t &s) {
5858
}
5959
}
6060

61-
int verify_input(const settings_t &s) {
62-
if (has_bench_mode_modifier(mode_modifier_t::no_ref_memory)) {
63-
// TODO: update graph driver doc page once the limitation is removed.
64-
BENCHDNN_PRINT(0, "%s\n",
65-
"Error: graph driver doesn't support "
66-
"--mode-modifier=M/--mode=F.");
67-
return FAIL;
68-
}
69-
return OK;
70-
}
71-
7261
int bench(int argc, char **argv) {
7362
driver_name = "graph";
7463
using namespace parser;
@@ -88,7 +77,6 @@ int bench(int argc, char **argv) {
8877
if (!parsed_options) {
8978
if (!parse_input_file(s.json_file, argv[0]))
9079
catch_unknown_options(argv[0]);
91-
SAFE(verify_input(s), WARN);
9280
check_correctness(s);
9381
flush_temp_memory();
9482
}

0 commit comments

Comments
 (0)