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. |
||
|---|---|---|
| .. | ||
| flann | ||
| flann.hpp | ||