Yet some more tooling updates
This commit is contained in:
parent
1700068d1e
commit
914d60bfc1
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,8 @@ project(sfizz VERSION 1.0.0 LANGUAGES CXX)
|
|||
# Set the highest possible standard
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
cmake_policy(SET CMP0069 NEW)
|
||||
# Enable LTO
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW) # To override the policy in abseil and benchmark
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT ANDROID)
|
||||
|
|
|
|||
|
|
@ -528,7 +528,7 @@ TEST_CASE("[Helpers] Linear Ramp (SIMD)")
|
|||
std::array<float, 6> output;
|
||||
std::array<float, 6> expected { v, v + v, v + v + v, v + v + v + v, v + v + v + v + v, v + v + v + v + v + v };
|
||||
linearRamp<float, true>(absl::MakeSpan(output), start, v);
|
||||
REQUIRE(output == expected);
|
||||
REQUIRE(approxEqual<float>(output, expected));
|
||||
}
|
||||
|
||||
TEST_CASE("[Helpers] Linear Ramp (SIMD vs scalar)")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue