skia2/infra/bots/gen_tasks_logic/skpbench_flags.go
Adlai Holler 53a65b2b6f Reduce VRAM budget on one perf bot
This will let us see the reordered_dags_over_budget stat
in perf so that we know our fallback code path is getting tested.

Bug: skia:10877
Change-Id: I073c8622ddb8f3449511193bac045bfebc4e277c
Cq-Include-Trybots: luci.skia.skia.primary:Perf-Debian10-Clang-NUC7i5BNK-GPU-IntelIris640-x86_64-Release-All
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/398217
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Adlai Holler <adlai@google.com>
2021-04-19 16:04:34 +00:00

15 lines
504 B
Go

// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package gen_tasks_logic
// skpbenchFlags generates flags to skpbench based on the given task properties.
func (b *taskBuilder) skpbenchFlags() {
if b.model(REDUCE_OPS_TASK_SPLITTING_MODELS...) {
b.recipeProp("reduce_ops_task_splitting", "true")
}
if b.model("NUC7i5BNK") {
b.recipeProp("gpu_resource_cache_limit", "16777216")
}
}