waLBerla 7.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CustomMemoryBuffer.h File Reference

Detailed Description

Basic Buffer supporting different memory spaces.

Author
Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e
#include <algorithm>
#include <cstring>
#include "gpu/ErrorChecking.h"
#include "gpu/GPUWrapper.h"
#include "CustomMemoryBuffer.impl.h"

Classes

class  walberla::gpu::communication::CustomMemoryBuffer< Allocator >
 Simple buffer class that supports memory allocators, e.g. More...
 
struct  walberla::gpu::communication::HostMemoryAllocator
 
struct  walberla::gpu::communication::DeviceMemoryAllocator
 

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::gpu
 
namespace  walberla::gpu::communication
 

Typedefs

using walberla::gpu::communication::PinnedMemoryBuffer = CustomMemoryBuffer<HostMemoryAllocator>
 
using walberla::gpu::communication::GPUMemoryBuffer = CustomMemoryBuffer<DeviceMemoryAllocator>