Index: tools/nanobench_flags.py |
diff --git a/tools/nanobench_flags.py b/tools/nanobench_flags.py |
index cb862a6c639df25258ae6acf8cd253e624cb0496..cec48a1809e26a96e10e3c3a721eb5f66300fce1 100755 |
--- a/tools/nanobench_flags.py |
+++ b/tools/nanobench_flags.py |
@@ -40,6 +40,10 @@ def get_args(bot): |
# Don't care about Valgrind performance. |
args.extend(['--loops', '1']) |
args.extend(['--samples', '1']) |
+ if 'GPU' in bot: |
+ args.append('--nocpu') |
+ elif 'CPU' in bot: |
+ args.append('--nogpu') |
match = [] |
if 'Android' in bot: |
@@ -69,7 +73,8 @@ def self_test(): |
cases = [ |
'Perf-Android-GalaxyS3-Mali400-Arm7-Release', |
'Perf-Android-Nexus7-Tegra3-Arm7-Release', |
- 'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind', |
+ 'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind_CPU', |
+ 'Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-Release-Valgrind_GPU', |
'Test-Win7-ShuttleA-HD2000-x86-Debug-ANGLE', |
] |