GNU Radio 3.6.4.2 C++ API
volk_prefs.h
Go to the documentation of this file.
00001 #ifndef INCLUDED_VOLK_PREFS_H
00002 #define INCLUDED_VOLK_PREFS_H
00003 
00004 #include <volk/volk_common.h>
00005 #include <stdlib.h>
00006 
00007 __VOLK_DECL_BEGIN
00008 
00009 typedef struct volk_arch_pref
00010 {
00011     char name[128];   //name of the kernel
00012     char impl_a[128]; //best aligned impl
00013     char impl_u[128]; //best unaligned impl
00014 } volk_arch_pref_t;
00015 
00016 ////////////////////////////////////////////////////////////////////////
00017 // get path to volk_config profiling info
00018 ////////////////////////////////////////////////////////////////////////
00019 VOLK_API void volk_get_config_path(char *);
00020 
00021 ////////////////////////////////////////////////////////////////////////
00022 // load prefs into global prefs struct
00023 ////////////////////////////////////////////////////////////////////////
00024 VOLK_API size_t volk_load_preferences(volk_arch_pref_t **);
00025 
00026 __VOLK_DECL_END
00027 
00028 #endif //INCLUDED_VOLK_PREFS_H