chromium/third_party/ruy/src/ruy/context.cc

/* Copyright 2020 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

#include "ruy/context.h"

#include "ruy/ctx.h"
#include "ruy/ctx_impl.h"
#include "ruy/strategy_controls.h"
#include "ruy/path.h"
#include "ruy/performance_advisory.h"
#include "ruy/prepacked_cache.h"
#include "ruy/thread_pool.h"
#include "ruy/tune.h"

namespace ruy {

Context::Context() :{}
Context::~Context() {}

const Ctx& Context::ctx() const {}
Ctx* Context::mutable_ctx() {}

Path Context::last_used_path() const {}
Tuning Context::explicit_tuning() const {}
void Context::set_explicit_tuning(Tuning value) {}
const ThreadPool& Context::thread_pool() const {}
ThreadPool* Context::mutable_thread_pool() {}
int Context::max_num_threads() const {}
void Context::set_max_num_threads(int value) {}
NumThreadsStrategy Context::num_threads_strategy() const {}
void Context::set_num_threads_strategy(NumThreadsStrategy strategy) {}

void Context::ClearPrepackedCache() {}

bool Context::performance_advisory(PerformanceAdvisory advisory) const {}

void Context::set_runtime_enabled_paths(Path paths) {}

Path Context::get_runtime_enabled_paths() {}

}  // namespace ruy