GpuSender.hpp
Go to the documentation of this file.
GPUSender is a wrapper class for classes which will implement copOwnerToAll This is implemented with ... Definition: GpuSender.hpp:44 std::unique_ptr< GpuVector< int > > m_indicesCopy Definition: GpuSender.hpp:128 const OwnerOverlapCopyCommunicationType & m_cpuOwnerOverlapCopy Definition: GpuSender.hpp:129 void project(X &x) const project will project x to the owned subspace Definition: GpuSender.hpp:74 virtual void copyOwnerToAll(const X &source, X &dest) const =0 copyOwnerToAll will copy the data in source to all processes. std::unique_ptr< GpuVector< int > > m_indicesOwner Definition: GpuSender.hpp:127 virtual ~GPUSender()=default virtual void initIndexSet() const =0 void dot(const X &x, const X &y, field_type &output) const dot will carry out the dot product between x and y on the owned indices, then sum up the result acros... Definition: GpuSender.hpp:89 field_type norm(const X &x) const norm computes the l^2-norm of x across processes. Definition: GpuSender.hpp:103 GPUSender(const OwnerOverlapCopyCommunicationType &cpuOwnerOverlapCopy) Definition: GpuSender.hpp:48 std::once_flag m_initializedIndices Definition: GpuSender.hpp:126 const ::Dune::Communication< MPI_Comm > & communicator() const communicator returns the MPI communicator used by this GPUSender Definition: GpuSender.hpp:117 Definition: AmgxInterface.hpp:38 |