mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-20 14:23:17 +01:00
no compile fix
This commit is contained in:
1 parent
2d56323012
commit
b31547c903
1 file changed
+9
@@ -191,6 +191,15 @@ accelerator_inline void convertType(vComplexD & out, const ComplexD & in) {
|
||||
accelerator_inline void convertType(vComplexD2 & out, const ComplexD & in) {
|
||||
((ComplexD*)&out)[acceleratorSIMTlane(vComplexD::Nsimd()*2)] = in;
|
||||
}
|
||||
// Lex chart: one lane, so there is no lane to select. Needed because the
|
||||
// coalesced accessor hands the kernel a scalar object while the destination
|
||||
// is still the vector type.
|
||||
accelerator_inline void convertType(sComplexF & out, const ComplexF & in) {
|
||||
out.v = in;
|
||||
}
|
||||
accelerator_inline void convertType(sComplexD & out, const ComplexD & in) {
|
||||
out.v = in;
|
||||
}
|
||||
#endif
|
||||
|
||||
accelerator_inline void convertType(vComplexF & out, const vComplexD2 & in) {
|
||||
|
||||
Reference in new issue
Block a user