summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-10-15 10:35:16 -0400
committerTom Rondeau <tom@trondeau.com>2014-10-15 10:47:11 -0400
commitadd88cac3a8512fc534b1f725ea8b4e21fbbef1b (patch)
tree7e191f81fd97e26e587fdba88c7936cb90fbe923
parent43934eb5896cf6261c3d9b7662e2ee95fb344dfd (diff)
volk: expfast comments
-rw-r--r--volk/kernels/volk/volk_32f_expfast_32f.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/volk/kernels/volk/volk_32f_expfast_32f.h b/volk/kernels/volk/volk_32f_expfast_32f.h
index 01ed79aa1a..30f82d5162 100644
--- a/volk/kernels/volk/volk_32f_expfast_32f.h
+++ b/volk/kernels/volk/volk_32f_expfast_32f.h
@@ -1,7 +1,6 @@
#include <stdio.h>
#include <math.h>
#include <inttypes.h>
-#include <immintrin.h>
#define Mln2 0.6931471805f
#define A 8388608.0f
@@ -18,7 +17,7 @@
\brief Computes fast exp (max 7% error) of input vector and stores results in output vector
\param bVector The vector where results will be stored
\param aVector The input vector of floats
- \param num_points Number of points for which log is to be computed
+ \param num_points Number of points for which exp is to be computed
*/
static inline void volk_32f_expfast_32f_a_avx(float* bVector, const float* aVector, unsigned int num_points){
@@ -57,7 +56,7 @@ static inline void volk_32f_expfast_32f_a_avx(float* bVector, const float* aVect
\brief Computes fast exp (max 7% error) of input vector and stores results in output vector
\param bVector The vector where results will be stored
\param aVector The input vector of floats
- \param num_points Number of points for which log is to be computed
+ \param num_points Number of points for which exp is to be computed
*/
static inline void volk_32f_expfast_32f_a_sse4_1(float* bVector, const float* aVector, unsigned int num_points){
@@ -96,7 +95,7 @@ static inline void volk_32f_expfast_32f_a_sse4_1(float* bVector, const float* aV
\brief Computes fast exp (max 7% error) of input vector and stores results in output vector
\param bVector The vector where results will be stored
\param aVector The input vector of floats
- \param num_points Number of points for which log is to be computed
+ \param num_points Number of points for which exp is to be computed
*/
static inline void volk_32f_expfast_32f_a_generic(float* bVector, const float* aVector, unsigned int num_points){
float* bPtr = bVector;
@@ -121,7 +120,7 @@ static inline void volk_32f_expfast_32f_a_generic(float* bVector, const float* a
\brief Computes fast exp (max 7% error) of input vector and stores results in output vector
\param bVector The vector where results will be stored
\param aVector The input vector of floats
- \param num_points Number of points for which log is to be computed
+ \param num_points Number of points for which exp is to be computed
*/
static inline void volk_32f_expfast_32f_u_avx(float* bVector, const float* aVector, unsigned int num_points){