1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00

Compile fix

This commit is contained in:
Peter Boyle 2022-11-02 19:33:22 -04:00
parent 991667ba5e
commit 132d841b05

View File

@ -130,7 +130,7 @@ typename vobj::scalar_object extractLane(int lane, const vobj & __restrict__ vec
typedef typename vobj::scalar_object scalar_object; typedef typename vobj::scalar_object scalar_object;
typedef typename vobj::vector_type vector_type; typedef typename vobj::vector_type vector_type;
typedef typename ExtractTypeMap<scalar_type>::extract_type extract_type; typedef typename ExtractTypeMap<scalar_type>::extract_type extract_type;
typedef extract_type * pointer; typedef scalar_type * pointer;
constexpr int words=sizeof(vobj)/sizeof(vector_type); constexpr int words=sizeof(vobj)/sizeof(vector_type);
constexpr int Nsimd=vector_type::Nsimd(); constexpr int Nsimd=vector_type::Nsimd();
@ -150,7 +150,7 @@ void insertLane(int lane, vobj & __restrict__ vec,const typename vobj::scalar_ob
typedef typename vobj::vector_type vector_type; typedef typename vobj::vector_type vector_type;
typedef typename vector_type::scalar_type scalar_type; typedef typename vector_type::scalar_type scalar_type;
typedef typename ExtractTypeMap<scalar_type>::extract_type extract_type; typedef typename ExtractTypeMap<scalar_type>::extract_type extract_type;
typedef extract_type * pointer; typedef scalar_type * pointer;
constexpr int words=sizeof(vobj)/sizeof(vector_type); constexpr int words=sizeof(vobj)/sizeof(vector_type);
constexpr int Nsimd=vector_type::Nsimd(); constexpr int Nsimd=vector_type::Nsimd();