mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-11 14:40:46 +01:00
corrected typo
This commit is contained in:
parent
78b8e40f83
commit
05edf803bd
@ -697,7 +697,8 @@ struct Reduce{
|
|||||||
};
|
};
|
||||||
//Complex float Reduce
|
//Complex float Reduce
|
||||||
template <>
|
template <>
|
||||||
inline Grid::ComplexF Reduce<Grid::ComplexF, svfloat32_t>::operator()(svfloat32_t in){
|
// inline Grid::ComplexF Reduce<Grid::ComplexF, svfloat32_t>::operator()(svfloat32_t in){
|
||||||
|
inline Grid::ComplexF Reduce<Grid::ComplexF, __SVFloat32_t>::operator()(__SVFloat32_t in){
|
||||||
pred pg_even = acle<float>::pg_even();
|
pred pg_even = acle<float>::pg_even();
|
||||||
pred pg_odd = acle<float>::pg_odd();
|
pred pg_odd = acle<float>::pg_odd();
|
||||||
float a = svred(pg_even, in);
|
float a = svred(pg_even, in);
|
||||||
@ -706,13 +707,15 @@ inline Grid::ComplexF Reduce<Grid::ComplexF, svfloat32_t>::operator()(svfloat32_
|
|||||||
}
|
}
|
||||||
//Real float Reduce
|
//Real float Reduce
|
||||||
template <>
|
template <>
|
||||||
inline Grid::RealF Reduce<Grid::RealF, svfloat32_t>::operator()(svfloat32_t in){
|
//inline Grid::RealF Reduce<Grid::RealF, svfloat32_t>::operator()(svfloat32_t in){
|
||||||
|
inline Grid::RealF Reduce<Grid::RealF, __SVFloat32_t>::operator()(__SVFloat32_t in){
|
||||||
pred pg1 = acle<float>::pg1();
|
pred pg1 = acle<float>::pg1();
|
||||||
return svred(pg1, in);
|
return svred(pg1, in);
|
||||||
}
|
}
|
||||||
//Complex double Reduce
|
//Complex double Reduce
|
||||||
template <>
|
template <>
|
||||||
inline Grid::ComplexD Reduce<Grid::ComplexD, svfloat64_t>::operator()(svfloat64_t in){
|
//inline Grid::ComplexD Reduce<Grid::ComplexD, svfloat64_t>::operator()(svfloat64_t in){
|
||||||
|
inline Grid::ComplexD Reduce<Grid::ComplexD, __SVFloat64_t>::operator()(__SVFloat64_t in){
|
||||||
pred pg_even = acle<double>::pg_even();
|
pred pg_even = acle<double>::pg_even();
|
||||||
pred pg_odd = acle<double>::pg_odd();
|
pred pg_odd = acle<double>::pg_odd();
|
||||||
double a = svred(pg_even, in);
|
double a = svred(pg_even, in);
|
||||||
@ -721,13 +724,15 @@ inline Grid::ComplexD Reduce<Grid::ComplexD, svfloat64_t>::operator()(svfloat64_
|
|||||||
}
|
}
|
||||||
//Real double Reduce
|
//Real double Reduce
|
||||||
template <>
|
template <>
|
||||||
inline Grid::RealD Reduce<Grid::RealD, svfloat64_t>::operator()(svfloat64_t in){
|
//inline Grid::RealD Reduce<Grid::RealD, svfloat64_t>::operator()(svfloat64_t in){
|
||||||
|
inline Grid::RealD Reduce<Grid::RealD, __SVFloat64_t>::operator()(__SVFloat64_t in){
|
||||||
pred pg1 = acle<double>::pg1();
|
pred pg1 = acle<double>::pg1();
|
||||||
return svred(pg1, in);
|
return svred(pg1, in);
|
||||||
}
|
}
|
||||||
//Integer Reduce
|
//Integer Reduce
|
||||||
template <>
|
template <>
|
||||||
inline Integer Reduce<Integer, svuint32_t>::operator()(svuint32_t in){
|
//inline Integer Reduce<Integer, svuint32_t>::operator()(svuint32_t in){
|
||||||
|
inline Integer Reduce<Integer, __SVUint32_t>::operator()(__SVUint32_t in){
|
||||||
pred pg1 = acle<Integer>::pg1();
|
pred pg1 = acle<Integer>::pg1();
|
||||||
return svred(pg1, in);
|
return svred(pg1, in);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user