Vector Optimized Library of Kernels  3.0.0
Architecture-tuned implementations of math kernels
volk_config_fixed.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_CONFIG_FIXED_H
11 #define INCLUDED_VOLK_CONFIG_FIXED_H
12 
13 %for i, arch in enumerate(archs):
14 #define LV_${arch.name.upper()} ${i}
15 %endfor
16 
17 #endif /*INCLUDED_VOLK_CONFIG_FIXED*/
archs
Definition: volk_arch_defs.py:10
for i
Definition: volk_config_fixed.tmpl.h:13
#define LV_
<% 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