• Home
  • Raw
  • Download

Lines Matching +full:nvidia +full:- +full:smi

4 # Use of this source code is governed by a BSD-style license that can be
79 pattern = r'\.' + result + r':.*= ([0-9.]+)'
93 return sorted(data)[n:-n]
106 ss = sum((float(x) - c)**2 for x in data)
255 '--trials',
260 run_args += ['--steps-per-trial', str(steps_per_trial)]
262 run_args += ['--trial-time', str(args.trial_time)]
265 run_args += ['--warmup'] # Render each frame once with glFinish
268 run_args += ['--perf-counters', args.perf_counters]
272 run_args += ['--isolated-script-test-perf-output=%s' % histogram_file_path]
273 run_args += ['--render-test-output-dir=%s' % render_output_dir]
362 '--gtest_filter=%s' % test,
363 '--verbose',
465 ['nvidia-smi', '--query-gpu=gpu_name', '--format=csv,noheader']).decode()
467 # expected in some cases, e.g. non-nvidia bots
470 logging.info('nvidia-smi --query-gpu=gpu_name output: %s' % gpu_info)
477 ['nvidia-smi', '--query-gpu=temperature.gpu', '--format=csv,noheader']).decode().strip()
487 # Lock to 1410Mhz (`nvidia-smi --query-supported-clocks=gr --format=csv`)
488 lgc_out = subprocess.check_output(['nvidia-smi', '--lock-gpu-clocks=1410,1410']).decode()
494 rgc_out = subprocess.check_output(['nvidia-smi', '--reset-gpu-clocks']).decode()
501 parser.add_argument('--isolated-script-test-output', type=str)
502 parser.add_argument('--isolated-script-test-perf-output', type=str)
504 '-f', '--filter', '--isolated-script-test-filter', type=str, help='Test filter.')
507 '--test-suite', '--suite', help='Test suite to run.', default=DEFAULT_TEST_SUITE)
509 '-T',
510 '--trace-tests',
513 parser.add_argument('--xvfb', help='Use xvfb.', action='store_true')
515 '--shard-count',
520 '--shard-index',
525 '-l', '--log', help='Log output level. Default is %s.' % DEFAULT_LOG, default=DEFAULT_LOG)
527 '-s',
528 '--samples-per-test',
533 '-t',
534 '--trials-per-sample',
540 '--steps-per-trial', help='Fixed number of steps to run per trial.', type=int)
542 '--trial-time',
547 '--max-errors',
552 '--smoke-test-mode', help='Do a quick run to validate correctness.', action='store_true')
554 '--show-test-stdout', help='Prints all test stdout during execution.', action='store_true')
556 '--perf-counters', help='Colon-separated list of extra perf counter metrics.')
558 '-a',
559 '--auto-dir',
563 '--split-shard-samples',
567 '--custom-throttling-temp',
602 exit_code, output, _ = _run_test_suite(args, ['--list-tests', '--verbose'] + extra_flags, env)
647 logging.info('Elapsed time: %.2lf seconds.' % (end_time - start_time))