diff options
author | Jerry Ge <jerry.ge@arm.com> | 2023-07-19 23:08:16 +0000 |
---|---|---|
committer | Jerry Ge <jerry.ge@arm.com> | 2023-07-25 22:49:17 +0000 |
commit | 9c9c8dafe8f9a32bd70aee268cd537b93865a3ba (patch) | |
tree | e94fc471261b9f72bef86033fbc76022f55d5de8 /reference_model/src/model_runner_impl.cc | |
parent | c1e13432b4a218781afd6b0171d4afff11730433 (diff) | |
download | reference_model-9c9c8dafe8f9a32bd70aee268cd537b93865a3ba.tar.gz |
Run clang-format and update copyright
- Also added run clang-format to pre-commit runs
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I4e59ac0afbaa30dce0773aa63d92a1a3b119e2f3
Diffstat (limited to 'reference_model/src/model_runner_impl.cc')
-rw-r--r-- | reference_model/src/model_runner_impl.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/reference_model/src/model_runner_impl.cc b/reference_model/src/model_runner_impl.cc index f1b70e7..ce548e9 100644 --- a/reference_model/src/model_runner_impl.cc +++ b/reference_model/src/model_runner_impl.cc @@ -20,11 +20,10 @@ using namespace TosaReference; ModelRunnerImpl::ModelRunnerImpl() {} -ModelRunnerImpl::ModelRunnerImpl(const func_config_t& func_config, - const func_debug_t& func_debug) +ModelRunnerImpl::ModelRunnerImpl(const func_config_t& func_config, const func_debug_t& func_debug) { g_func_config = func_config; - g_func_debug = func_debug; + g_func_debug = func_debug; } ModelRunnerImpl::~ModelRunnerImpl() @@ -339,10 +338,8 @@ GraphStatus ModelRunnerImpl::initialize(TosaSerializationBasicBlock* bb, void ModelRunnerImpl::validateTosaVersion(TosaSerializationHandler& serialization_handler) { - TosaVersion model_version(TOSA_REFERENCE_MODEL_VERSION_MAJOR, - TOSA_REFERENCE_MODEL_VERSION_MINOR, - TOSA_REFERENCE_MODEL_VERSION_PATCH, - TOSA_REFERENCE_MODEL_VERSION_DRAFT); + TosaVersion model_version(TOSA_REFERENCE_MODEL_VERSION_MAJOR, TOSA_REFERENCE_MODEL_VERSION_MINOR, + TOSA_REFERENCE_MODEL_VERSION_PATCH, TOSA_REFERENCE_MODEL_VERSION_DRAFT); TosaVersion::compat_t is_compat = model_version.is_compatible(serialization_handler.GetVersion()); switch (is_compat) |