My Project
|
CUDA compatiable variant of Dune::OwnerOverlapCopyCommunication. More...
#include <GpuOwnerOverlapCopy.hpp>
Public Types | |
using | X = GpuVector<field_type> |
Public Member Functions | |
GpuOwnerOverlapCopy (std::shared_ptr< GPUSender< field_type, OwnerOverlapCopyCommunicationType > > sender) | |
void | copyOwnerToAll (const X &source, X &dest) const |
void | dot (const X &x, const X &y, field_type &output) const |
field_type | norm (const X &x) const |
void | project (X &x) const |
CUDA compatiable variant of Dune::OwnerOverlapCopyCommunication.
This class can essentially be seen as an adapter around Dune::OwnerOverlapCopyCommunication, and should work as a Dune::OwnerOverlapCopyCommunication on GpuVectors
field_type | should be a field_type supported by GpuVector (double, float) |
block_size | the block size used (this is relevant for say figuring out the correct indices) |
OwnerOverlapCopyCommunicationType | should mimic Dune::OwnerOverlapCopyCommunication. |