mirror of
https://github.com/opencv/opencv.git
synced 2026-09-25 04:09:57 +03:00
All <arm_neon.h> includes in core/cv_cpu_dispatch.h are protected by an ifndef __CUDACC__ to prevent attempting to use neon intrinsics when compiling cuda kernels (.cu) -- this prevents hard errors such as error: identifier "__builtin_neon_qi" is undefined Add this same protection to flann/dist.h to fix compilation involving flann.hpp.