Vector Optimized Library of Kernels
3.1.0
Architecture-tuned implementations of math kernels
Loading...
Searching...
No Matches
volk_32f_x2_fm_detectpuppet_32f.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2014 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_32f_x2_fm_detectpuppet_32f_a_H
11
#define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H
12
13
#include "
volk_32f_s32f_32f_fm_detect_32f.h
"
14
15
#ifdef LV_HAVE_AVX
16
#include <immintrin.h>
17
18
static
inline
void
volk_32f_x2_fm_detectpuppet_32f_a_avx
(
float
* outputVector,
19
const
float
* inputVector,
20
float
* saveValue,
21
unsigned
int
num_points)
22
{
23
const
float
bound = 2.0f;
24
25
volk_32f_s32f_32f_fm_detect_32f_a_avx
(
26
outputVector, inputVector, bound, saveValue, num_points);
27
}
28
#endif
/* LV_HAVE_AVX */
29
30
#ifdef LV_HAVE_SSE
31
#include <xmmintrin.h>
32
33
static
inline
void
volk_32f_x2_fm_detectpuppet_32f_a_sse
(
float
* outputVector,
34
const
float
* inputVector,
35
float
* saveValue,
36
unsigned
int
num_points)
37
{
38
const
float
bound = 2.0f;
39
40
volk_32f_s32f_32f_fm_detect_32f_a_sse
(
41
outputVector, inputVector, bound, saveValue, num_points);
42
}
43
#endif
/* LV_HAVE_SSE */
44
45
#ifdef LV_HAVE_GENERIC
46
47
static
inline
void
volk_32f_x2_fm_detectpuppet_32f_generic
(
float
* outputVector,
48
const
float
* inputVector,
49
float
* saveValue,
50
unsigned
int
num_points)
51
{
52
const
float
bound = 2.0f;
53
54
volk_32f_s32f_32f_fm_detect_32f_generic
(
55
outputVector, inputVector, bound, saveValue, num_points);
56
}
57
#endif
/* LV_HAVE_GENERIC */
58
59
60
#endif
/* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H */
61
62
63
#ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
64
#define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
65
66
#include "
volk_32f_s32f_32f_fm_detect_32f.h
"
67
68
#ifdef LV_HAVE_AVX
69
#include <immintrin.h>
70
71
static
inline
void
volk_32f_x2_fm_detectpuppet_32f_u_avx
(
float
* outputVector,
72
const
float
* inputVector,
73
float
* saveValue,
74
unsigned
int
num_points)
75
{
76
const
float
bound = 2.0f;
77
78
volk_32f_s32f_32f_fm_detect_32f_u_avx
(
79
outputVector, inputVector, bound, saveValue, num_points);
80
}
81
#endif
/* LV_HAVE_AVX */
82
#endif
/* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H */
kernels
volk
volk_32f_x2_fm_detectpuppet_32f.h
Generated by
1.9.8