Vector Optimized Library of Kernels 2.5.1
Architecture-tuned implementations of math kernels
volk_prefs.h
Go to the documentation of this file.
1#ifndef INCLUDED_VOLK_PREFS_H
2#define INCLUDED_VOLK_PREFS_H
3
4#include <stdbool.h>
5#include <stdlib.h>
6#include <volk/volk_common.h>
7
9
10typedef struct volk_arch_pref {
11 char name[128]; // name of the kernel
12 char impl_a[128]; // best aligned impl
13 char impl_u[128]; // best unaligned impl
15
17// get path to volk_config profiling info; second arguments specifies
18// if config file should be tested on existence for reading.
19// returns \0 in the argument on failure.
21VOLK_API void volk_get_config_path(char*, bool);
22
24// load prefs into global prefs struct
27
29
30#endif // INCLUDED_VOLK_PREFS_H
Definition: volk_prefs.h:10
char impl_u[128]
Definition: volk_prefs.h:13
char impl_a[128]
Definition: volk_prefs.h:12
char name[128]
Definition: volk_prefs.h:11
#define __VOLK_DECL_END
Definition: volk_common.h:85
#define VOLK_API
Definition: volk_common.h:95
#define __VOLK_DECL_BEGIN
Definition: volk_common.h:84
VOLK_API size_t volk_load_preferences(volk_arch_pref_t **)
Definition: volk_prefs.c:66
VOLK_API void volk_get_config_path(char *, bool)
Definition: volk_prefs.c:14
__VOLK_DECL_BEGIN struct volk_arch_pref volk_arch_pref_t