/usr/include/volk/volk_prefs.h is in libvolk1-dev 1.3-1+b4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #ifndef INCLUDED_VOLK_PREFS_H
#define INCLUDED_VOLK_PREFS_H
#include <volk/volk_common.h>
#include <stdlib.h>
__VOLK_DECL_BEGIN
typedef struct volk_arch_pref
{
char name[128]; //name of the kernel
char impl_a[128]; //best aligned impl
char impl_u[128]; //best unaligned impl
} volk_arch_pref_t;
////////////////////////////////////////////////////////////////////////
// get path to volk_config profiling info;
// returns \0 in the argument on failure.
////////////////////////////////////////////////////////////////////////
VOLK_API void volk_get_config_path(char *);
////////////////////////////////////////////////////////////////////////
// load prefs into global prefs struct
////////////////////////////////////////////////////////////////////////
VOLK_API size_t volk_load_preferences(volk_arch_pref_t **);
__VOLK_DECL_END
#endif //INCLUDED_VOLK_PREFS_H
|