skia2/infra/bots/gen_tasks_logic/skpbench_flags.go

15 lines
514 B
Go
Raw Normal View History

// 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(DONT_REDUCE_OPS_TASK_SPLITTING_MODELS...) {
b.recipeProp("dont_reduce_ops_task_splitting", "true")
}
if b.model("NUC7i5BNK") {
b.recipeProp("gpu_resource_cache_limit", "16777216")
}
}