Vector Optimized Library of Kernels 3.2.0
Architecture-tuned implementations of math kernels
Loading...
Searching...
No Matches
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:
17typedef void (*${kern.pname})(${kern.arglist_types});
18%endfor
19
20#endif /*INCLUDED_VOLK_TYPEDEFS*/
for kern in kernels
Definition volk.tmpl.c:113
VOLK_API $
A function pointer to the fastest aligned implementation.
Definition volk.tmpl.h:85
<% 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:49