test_intrin256.simd.hpp 771 B

1234567891011121314151617181920212223
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. #if !defined CV_CPU_OPTIMIZATION_DECLARATIONS_ONLY && \
  5. !defined CV_DISABLE_OPTIMIZATION && defined CV_ENABLE_INTRINSICS // TODO? C++ fallback implementation for SIMD256
  6. #define CV__SIMD_FORCE_WIDTH 256
  7. #include "opencv2/core/hal/intrin.hpp"
  8. #undef CV__SIMD_FORCE_WIDTH
  9. #if CV_SIMD_WIDTH != 32
  10. #error "Invalid build configuration"
  11. #endif
  12. #endif // CV_CPU_OPTIMIZATION_DECLARATIONS_ONLY
  13. namespace opencv_test { namespace hal { namespace intrin256 {
  14. CV_CPU_OPTIMIZATION_NAMESPACE_BEGIN
  15. #include "test_intrin_utils.hpp"
  16. CV_CPU_OPTIMIZATION_NAMESPACE_END
  17. }}} //namespace