mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-05 19:55:56 +01:00
retry changing StoD API
This commit is contained in:
parent
b0ef2367f3
commit
798af3e68f
@ -436,7 +436,7 @@ struct PrecisionChange {
|
||||
vecf sb_v = svcvt_f32_x(pg1d, b);
|
||||
return svuzp1(sa_v, sb_v);
|
||||
}
|
||||
static inline void StoD (vecf s,vecd &a,vecd &b) {
|
||||
static inline void StoD (svfloat32_t s,svfloat64_t &a,svfloat64_t &b) {
|
||||
pred pg1d = acle<double>::pg1();
|
||||
vecf sa_v = svzip1(s, s);
|
||||
vecf sb_v = svzip2(s, s);
|
||||
|
@ -967,7 +967,7 @@ accelerator_inline void precisionChange(vRealD *out,vRealF *in,int nvec)
|
||||
// 961 | Optimization::PrecisionChange::StoD(in[m].v,out[n].v,out[n+1].v);
|
||||
// | ~~~~~~~^
|
||||
// Optimization::PrecisionChange::StoD(in[m].v,out[n].v,out[n+1].v);
|
||||
Optimization::PrecisionChange::StoD(in[m].v,&out[n].v,&out[n+1].v);
|
||||
Optimization::PrecisionChange::StoD(in[m].v,out[n].v,out[n+1].v);
|
||||
}
|
||||
}
|
||||
accelerator_inline void precisionChange(vRealD *out,vRealH *in,int nvec)
|
||||
|
Loading…
x
Reference in New Issue
Block a user