• David Miller's avatar
    GCC/Clang compatible SIMD code ./dlib/simd/simd**_vec.h (#414) · 60092335
    David Miller authored
    * GCC/Clang compatible vector extension SIMD code
    
    * Minimal modifications to dlib for the simd_vec code to work, a few include changes and ifdefs
    
    * Changed tabbing to spaces
    
    * Allow type inference to binary ops on different types of same size
    
    * Added cmake option USE_AUTO_VECTOR, and fixed up preprocessor checks.
    It is required to build with gcc/clang auto vectorization
    
    * Changed to intrinsic version due to poor auto vectorization results.
    The simd8*_vec are just copies of the C code right now.
    
    * Removed _vec variants, added to existing defines. simd_check.h back in place and removed from dlib/simd.h
    60092335
fhog.h 54.8 KB