mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 03:20:47 +08:00
Code cleanup - constexpr for bitness ults
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
72a0621dc2
commit
7fdab76d96
@@ -2166,7 +2166,7 @@ TEST_F(Program32BitTests, givenDeviceWithForce32BitAddressingOnWhenProgramIsCrea
|
||||
auto internalOptions = program.getInitInternalOptions();
|
||||
std::string s1 = internalOptions;
|
||||
size_t pos = s1.find(NEO::CompilerOptions::arch32bit.data());
|
||||
if (is64bit) {
|
||||
if constexpr (is64bit) {
|
||||
EXPECT_NE(pos, std::string::npos);
|
||||
} else {
|
||||
EXPECT_EQ(pos, std::string::npos);
|
||||
|
||||
Reference in New Issue
Block a user