2021-03-01 23:47:07 +00:00
|
|
|
// 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() {
|
2021-04-22 15:08:12 +00:00
|
|
|
if b.model(DONT_REDUCE_OPS_TASK_SPLITTING_MODELS...) {
|
|
|
|
b.recipeProp("dont_reduce_ops_task_splitting", "true")
|
2021-03-01 23:47:07 +00:00
|
|
|
}
|
2021-04-19 15:04:21 +00:00
|
|
|
if b.model("NUC7i5BNK") {
|
|
|
|
b.recipeProp("gpu_resource_cache_limit", "16777216")
|
|
|
|
}
|
2021-03-01 23:47:07 +00:00
|
|
|
}
|