diff options
Diffstat (limited to 'reference_model/include/func_config.h')
-rw-r--r-- | reference_model/include/func_config.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/reference_model/include/func_config.h b/reference_model/include/func_config.h index 97afa82..554f8dc 100644 --- a/reference_model/include/func_config.h +++ b/reference_model/include/func_config.h @@ -1,5 +1,5 @@ -// Copyright (c) 2020-2023, ARM Limited. +// Copyright (c) 2020-2024, ARM Limited. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,15 +21,16 @@ struct tosa_level_t { - int32_t MAX_RANK = 0; - int32_t MAX_KERNEL = 0; - int32_t MAX_STRIDE = 0; - int32_t MAX_SCALE = 0; + int32_t MAX_RANK = 0; + int32_t MAX_KERNEL = 0; + int32_t MAX_STRIDE = 0; + int32_t MAX_SCALE = 0; + int32_t MAX_TENSOR_LIST_SIZE = 0; bool operator!=(const tosa_level_t& rhs) { return !(MAX_RANK == rhs.MAX_RANK && MAX_KERNEL == rhs.MAX_KERNEL && MAX_STRIDE == rhs.MAX_STRIDE && - MAX_SCALE == rhs.MAX_SCALE); + MAX_SCALE == rhs.MAX_SCALE && MAX_TENSOR_LIST_SIZE == rhs.MAX_TENSOR_LIST_SIZE); } }; @@ -60,8 +61,8 @@ struct func_config_t bool float_is_big_endian = false; // Set in arith_util.h by float_is_big_endian() tosa_level_t tosa_level; - static constexpr tosa_level_t EIGHTK = { 6, 8192, 8192, 256 }; - static constexpr tosa_level_t NONE = { 0, 0, 0, 0 }; + static constexpr tosa_level_t EIGHTK = { 6, 8192, 8192, 256, 64 }; + static constexpr tosa_level_t NONE = { 0, 0, 0, 0, 0 }; }; #endif |