• 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
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...