mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 12:52:33 -05: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.