diff --git a/Grid/allocator/MemoryManagerCache.cc b/Grid/allocator/MemoryManagerCache.cc index 6c81e5b0..e758ac2f 100644 --- a/Grid/allocator/MemoryManagerCache.cc +++ b/Grid/allocator/MemoryManagerCache.cc @@ -519,7 +519,6 @@ void MemoryManager::Audit(std::string s) uint64_t LruBytes1=0; uint64_t LruBytes2=0; uint64_t LruCnt=0; - uint64_t LockedBytes=0; std::cout << " Memory Manager::Audit() from "<ShiftedRanks(dimension,nbr_proc,xmit_to_rank,recv_from_rank); #ifdef SHM_FAST_PATH #warning STENCIL SHM FAST PATH SELECTED + int shm_recv=0; // shm == receive pointer if offnode // shm == Translate[send pointer] if on node -- my view of his send pointer cobj *shm = (cobj *) _grid->ShmBufferTranslate(recv_from_rank,sp); @@ -1403,7 +1404,6 @@ public: acceleratorMemSet(rp,0,bytes); // Zero prefill comms buffer to zero } int do_send = (comms_send|comms_partial_send) && (!shm_send ); - int do_recv = (comms_send|comms_partial_send) && (!shm_recv ); AddPacket((void *)sp,(void *)rp, xmit_to_rank,do_send, recv_from_rank,do_send, diff --git a/Grid/tensors/Tensor_extract_merge.h b/Grid/tensors/Tensor_extract_merge.h index f1407d1f..a92a02e3 100644 --- a/Grid/tensors/Tensor_extract_merge.h +++ b/Grid/tensors/Tensor_extract_merge.h @@ -133,7 +133,6 @@ typename vobj::scalar_object extractLane(int lane, const vobj & __restrict__ vec typedef scalar_type * pointer; constexpr int words=sizeof(vobj)/sizeof(vector_type); - constexpr int Nsimd=vector_type::Nsimd(); scalar_object extracted; pointer __restrict__ sp = (pointer)&extracted; // Type pun @@ -153,7 +152,6 @@ void insertLane(int lane, vobj & __restrict__ vec,const typename vobj::scalar_ob typedef scalar_type * pointer; constexpr int words=sizeof(vobj)/sizeof(vector_type); - constexpr int Nsimd=vector_type::Nsimd(); pointer __restrict__ sp = (pointer)&extracted; vector_type *vp = (vector_type *)&vec; @@ -178,8 +176,6 @@ void extract(const vobj &vec,const ExtractPointerArray &extracted, int off const int s = Nsimd/Nextr; vector_type * vp = (vector_type *)&vec; - scalar_type vtmp; - sobj_scalar_type stmp; for(int w=0;w &extracted, int offset) vector_type * vp = (vector_type *)&vec; scalar_type vtmp; - sobj_scalar_type stmp; for(int w=0;w