Skip to content

Commit

Permalink
Fix SIMD test
Browse files Browse the repository at this point in the history
  • Loading branch information
jfalcou committed Jan 31, 2024
1 parent 716b72c commit 4577346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/simd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ int main()
std::cout << "NEON status: " << std::boolalpha << (spy::simd_instruction_set >= spy::neon_ ) << std::endl;
std::cout << "ASIMD status: " << std::boolalpha << (spy::simd_instruction_set >= spy::asimd_) << std::endl;
std::cout << "SVE status: " << std::boolalpha << (spy::simd_instruction_set >= spy::sve_);
if constexpr(spy::simd_instruction_set >= spy::fixed_sve_)
if constexpr(spy::simd_instruction_set.has_fixed_cardinal())
{
std::cout << " - fixed size: " << spy::simd_instruction_set.width << " bits" << std::endl;
}
else if constexpr(spy::simd_instruction_set >= spy::sve_)
else
{
std::cout << " - flexible size" << std::endl;
}
Expand Down

0 comments on commit 4577346

Please sign in to comment.