• Lindsay Roberts's avatar
    Fix Flann compilation under nvcc + NEON · 7c72e095
    Lindsay Roberts authored
    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.
    7c72e095
Name
Last commit
Last update
..
include/opencv2 Loading commit data...
misc/python Loading commit data...
src Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...