| |
| |
| |
| |
|
|
| |
| |
| |
| |
| |
| |
| |
|
|
| |
| #ifndef VL_MATHOP_AVX_H_INSTANTIATING |
|
|
| #ifndef VL_MATHOP_AVX_H |
| #define VL_MATHOP_AVX_H |
|
|
| #undef FLT |
| #define FLT VL_TYPE_DOUBLE |
| #define VL_MATHOP_AVX_H_INSTANTIATING |
| #include "mathop_avx.h" |
|
|
| #undef FLT |
| #define FLT VL_TYPE_FLOAT |
| #define VL_MATHOP_AVX_H_INSTANTIATING |
| #include "mathop_avx.h" |
|
|
| |
| #endif |
|
|
| |
| |
| #else |
|
|
| #ifndef VL_DISABLE_AVX |
| #include "generic.h" |
| #include "float.h" |
|
|
| VL_EXPORT T |
| VL_XCAT(_vl_distance_mahalanobis_sq_avx_, SFX) |
| (vl_size dimension, T const * X, T const * MU, T const * S); |
|
|
| VL_EXPORT T |
| VL_XCAT(_vl_distance_l2_avx_, SFX) |
| (vl_size dimension, T const * X, T const * Y); |
|
|
| VL_EXPORT void |
| VL_XCAT(_vl_weighted_sigma_avx_, SFX) |
| (vl_size dimension, T * S, T const * X, T const * Y, T const W); |
|
|
| VL_EXPORT void |
| VL_XCAT(_vl_weighted_mean_avx_, SFX) |
| (vl_size dimension, T * MU, T const * X, T const W); |
|
|
| |
| #endif |
|
|
| #undef VL_MATHOP_AVX_H_INSTANTIATING |
| #endif |
|
|