This is a temporary fix to make it work. Better solutions are in other patches.
1. The getter for the update stream returned the stream itself instead of a
pointer to it.
2. The copy stream for forces with AtomLocality:All set to updateStream.
Change-Id: I02b15beddebc160f2fe4fc21da64975977855699
fCopyStreams_[AtomLocality::Local] = localStream_;
fCopyStreams_[AtomLocality::NonLocal] = nonLocalStream_;
- fCopyStreams_[AtomLocality::All] = nullptr;
+ fCopyStreams_[AtomLocality::All] = updateStream_;
}
StatePropagatorDataGpu::Impl::Impl(const void *pmeStream,
void* StatePropagatorDataGpu::Impl::getUpdateStream()
{
- return updateStream_;
+ return &updateStream_;
}
int StatePropagatorDataGpu::Impl::numAtomsLocal()