1cb93a386Sopenharmony_ci// Copyright 2021 The Chromium Authors. All rights reserved. 2cb93a386Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 3cb93a386Sopenharmony_ci// found in the LICENSE file. 4cb93a386Sopenharmony_cipackage gen_tasks_logic 5cb93a386Sopenharmony_ci 6cb93a386Sopenharmony_ci// skpbenchFlags generates flags to skpbench based on the given task properties. 7cb93a386Sopenharmony_cifunc (b *taskBuilder) skpbenchFlags() { 8cb93a386Sopenharmony_ci if b.model(DONT_REDUCE_OPS_TASK_SPLITTING_MODELS...) { 9cb93a386Sopenharmony_ci b.recipeProp("dont_reduce_ops_task_splitting", "true") 10cb93a386Sopenharmony_ci } 11cb93a386Sopenharmony_ci if b.model("NUC7i5BNK") { 12cb93a386Sopenharmony_ci b.recipeProp("gpu_resource_cache_limit", "16777216") 13cb93a386Sopenharmony_ci } 14cb93a386Sopenharmony_ci} 15