Vector Optimized Library of Kernels  3.0.0
Architecture-tuned implementations of math kernels
volk_typedefs.tmpl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2011-2012 Free Software Foundation, Inc.
4  *
5  * This file is part of VOLK
6  *
7  * SPDX-License-Identifier: LGPL-3.0-or-later
8  */
9 
10 #ifndef INCLUDED_VOLK_TYPEDEFS
11 #define INCLUDED_VOLK_TYPEDEFS
12 
13 #include <inttypes.h>
14 #include <volk/volk_complex.h>
15 
16 %for kern in kernels:
17 typedef void (*${kern.pname})(${kern.arglist_types});
18 %endfor
19 
20 #endif /*INCLUDED_VOLK_TYPEDEFS*/
VOLK_API void
Call into a specific implementation given by name.
Definition: volk.tmpl.h:101
<% this_machine=machine_dict[args[0]] %><% arch_names=this_machine.arch_names %> for arch in this_machine<% this_machine_name="\""+this_machine.name+"\"" %> for kern in<% make_impl_name_list="{"+', '.join(['"%s"'%i.name for i in impls])+"}" %><% make_impl_deps_list="{"+', '.join(['|'.join(['(1<< LV_%s)'%d.upper() for d in i.deps]) for i in impls])+"}" %><% make_impl_align_list="{"+', '.join([ 'true' if i.is_aligned else 'false' for i in impls])+"}" %><% make_impl_fcn_list="{"+', '.join(['%s_%s'%(kern.name, i.name) for i in impls])+"}" %><% len_impls=len(impls) %> endfor
Definition: volk_machine_xxx.tmpl.c:47
for kern in kernels
Definition: volk_typedefs.tmpl.h:17