Skip to content

Commit

Permalink
tests: move benchdnn regression tests to a separate input file
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Dubtsov committed Nov 17, 2018
1 parent bd97c9c commit 830a100
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
3 changes: 3 additions & 0 deletions tests/benchdnn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ register_benchdnn_test(test_benchdnn_regression
"benchdnn --conv --batch=inputs/test_conv_regression"
"benchdnn --bnorm --batch=inputs/bnorm/test_bnorm_regressions"
)
register_benchdnn_test(test_benchdnn_regression_large
"benchdnn --bnorm --batch=inputs/bnorm/test_bnorm_regressions_large"
)
6 changes: 0 additions & 6 deletions tests/benchdnn/inputs/bnorm/test_bnorm_regressions
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
--fmt=nhwc

--dir=FWD_D
--flags=SR --batch=bnorm_large
--flags=SR --batch=bnorm_regressions
--flags=GS --batch=bnorm_regressions
--flags=S --batch=bnorm_regressions
Expand All @@ -13,7 +12,6 @@
--attr=

--dir=BWD_DW
--flags=SR --batch=bnorm_large
--flags=SR --batch=bnorm_regressions
--flags=GS --batch=bnorm_regressions
--flags=S --batch=bnorm_regressions
Expand All @@ -24,7 +22,6 @@
--fmt=nchw

--dir=FWD_D
--flags=SR --batch=bnorm_large
--flags=SR --batch=bnorm_regressions
--flags=GS --batch=bnorm_regressions
--flags=S --batch=bnorm_regressions
Expand All @@ -35,7 +32,6 @@
--attr=

--dir=BWD_DW
--flags=SR --batch=bnorm_large
--flags=SR --batch=bnorm_regressions
--flags=GS --batch=bnorm_regressions
--flags=S --batch=bnorm_regressions
Expand All @@ -46,7 +42,6 @@
--fmt=nChw16c # avx512

--dir=FWD_D
--flags=SR --batch=bnorm_large
--flags=SR --batch=bnorm_regressions
--flags=GS --batch=bnorm_regressions
--flags=S --batch=bnorm_regressions
Expand All @@ -57,7 +52,6 @@
--attr=

--dir=BWD_DW
--flags=SR --batch=bnorm_large
--flags=SR --batch=bnorm_regressions
--flags=GS --batch=bnorm_regressions
--flags=S --batch=bnorm_regressions
Expand Down
24 changes: 24 additions & 0 deletions tests/benchdnn/inputs/bnorm/test_bnorm_regressions_large
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
--skip-impl=ref
--fmt=nhwc

--dir=FWD_D
--flags=SR --batch=bnorm_large

--dir=BWD_DW
--flags=SR --batch=bnorm_large

--fmt=nchw

--dir=FWD_D
--flags=SR --batch=bnorm_large

--dir=BWD_DW
--flags=SR --batch=bnorm_large

--fmt=nChw16c # avx512

--dir=FWD_D
--flags=SR --batch=bnorm_large

--dir=BWD_DW
--flags=SR --batch=bnorm_large

0 comments on commit 830a100

Please sign in to comment.