PothosUtilSIMDFeatures.cpp 411 B

1234567891011121314151617
  1. // Copyright (c) 2020 Nicholsa Corgan
  2. // SPDX-License-Identifier: BSL-1.0
  3. #include "PothosUtil.hpp"
  4. #include <Pothos/System.hpp>
  5. #include <iostream>
  6. void PothosUtilBase::printSIMDFeatures(void)
  7. {
  8. std::cout << "SIMD features supported on this processor:" << std::endl;
  9. for(const auto& arch: Pothos::System::getSupportedSIMDFeatureSet())
  10. {
  11. std::cout << " * " << arch << std::endl;
  12. }
  13. }