mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
The threaded coms didn't agree with GCC. Suprised, and looks like GCC bug.
This commit is contained in:
parent
c79ea0dcef
commit
1e554350ac
@ -594,8 +594,11 @@ PARALLEL_FOR_LOOP
|
|||||||
template<class compressor>
|
template<class compressor>
|
||||||
void HaloExchange(const Lattice<vobj> &source,compressor &compress)
|
void HaloExchange(const Lattice<vobj> &source,compressor &compress)
|
||||||
{
|
{
|
||||||
auto thr = HaloExchangeBegin(source,compress);
|
Mergers.resize(0);
|
||||||
HaloExchangeComplete(thr);
|
Packets.resize(0);
|
||||||
|
HaloGather(source,compress);
|
||||||
|
Communicate();
|
||||||
|
CommsMerge();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HaloExchangeComplete(std::thread &thr)
|
void HaloExchangeComplete(std::thread &thr)
|
||||||
|
@ -359,8 +359,9 @@ void WilsonFermion5D<Impl>::DhopInternalCommsThenCompute(StencilImpl & st, Lebes
|
|||||||
int LLs = in._grid->_rdimensions[0];
|
int LLs = in._grid->_rdimensions[0];
|
||||||
|
|
||||||
commtime -=usecond();
|
commtime -=usecond();
|
||||||
auto handle = st.HaloExchangeBegin(in,compressor);
|
// auto handle = st.HaloExchangeBegin(in,compressor);
|
||||||
st.HaloExchangeComplete(handle);
|
// st.HaloExchangeComplete(handle);
|
||||||
|
st.HaloExchange(in,compressor);
|
||||||
commtime +=usecond();
|
commtime +=usecond();
|
||||||
|
|
||||||
jointime -=usecond();
|
jointime -=usecond();
|
||||||
|
Loading…
Reference in New Issue
Block a user