mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
refactor: correct matchers and typenames for non-heapless ults
This change includes: - added corresponding matchers for non-heapless unit tests - added matcher for binding table state - corrected type names for the interface descriptor and compute walker Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c01fb95cd0
commit
2b6442b7a3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -13,5 +13,5 @@ constexpr bool isSimd1(uint32_t simdSize) {
|
||||
}
|
||||
template <typename DefaultWalkerType>
|
||||
constexpr typename DefaultWalkerType::SIMD_SIZE getSimdConfig(uint32_t simdSize) {
|
||||
return static_cast<typename DefaultWalkerType::SIMD_SIZE>(isSimd1(simdSize) ? (32 >> 4) : (simdSize >> 4));
|
||||
return static_cast<typename DefaultWalkerType::SIMD_SIZE>(isSimd1(simdSize) ? (32 >> 4) : (simdSize >> 4)); // NOLINT(clang-analyzer-optin.core.EnumCastOutOfRange)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user