From 4f8e636a438007a14ff95b2e59fe6297a6c38283 Mon Sep 17 00:00:00 2001 From: paboyle Date: Thu, 20 Oct 2016 16:59:16 +0100 Subject: [PATCH] commVector --- lib/cshift/Cshift_mpi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cshift/Cshift_mpi.h b/lib/cshift/Cshift_mpi.h index 704fda34..b3c07cd6 100644 --- a/lib/cshift/Cshift_mpi.h +++ b/lib/cshift/Cshift_mpi.h @@ -119,8 +119,8 @@ template void Cshift_comms(Lattice &ret,const Lattice &r assert(shift_slice_nblock[dimension]*rhs._grid->_slice_block[dimension]; - std::vector > send_buf(buffer_size); - std::vector > recv_buf(buffer_size); + commVector send_buf(buffer_size); + commVector recv_buf(buffer_size); int cb= (cbmask==0x2)? Odd : Even; int sshift= rhs._grid->CheckerBoardShiftForCB(rhs.checkerboard,dimension,shift,cb); @@ -191,8 +191,8 @@ template void Cshift_comms_simd(Lattice &ret,const Lattice_slice_nblock[dimension]*grid->_slice_block[dimension]; int words = sizeof(vobj)/sizeof(vector_type); - std::vector > send_buf_extract(Nsimd,Vector(buffer_size) ); - std::vector > recv_buf_extract(Nsimd,Vector(buffer_size) ); + std::vector > send_buf_extract(Nsimd,commVector(buffer_size) ); + std::vector > recv_buf_extract(Nsimd,commVector(buffer_size) ); int bytes = buffer_size*sizeof(scalar_object);