Skip to content

File buffer_fwd.h

File List > buffer > buffer_fwd.h

Go to the documentation of this file

#pragma once

namespace muda
{
template <bool IsConst, typename T>
class VarViewT;

template <typename T>
using VarView = VarViewT<false, T>;

template <typename T>
using CVarView = VarViewT<true, T>;


template <bool IsConst, typename T>
class BufferViewT;

template <typename T>
using BufferView = BufferViewT<false, T>;

template <typename T>
using CBufferView = BufferViewT<true, T>;


template <bool IsConst, typename T>
class Buffer2DViewT;

template <typename T>
using Buffer2DView = Buffer2DViewT<false, T>;

template <typename T>
using CBuffer2DView = Buffer2DViewT<true, T>;


template <bool IsConst, typename T>
class Buffer3DViewT;

template <typename T>
using Buffer3DView = Buffer3DViewT<false, T>;

template <typename T>
using CBuffer3DView = Buffer3DViewT<true, T>;


template <typename T>
class DeviceVar;

template <typename T>
class DeviceBuffer;

template <typename T>
class DeviceBuffer2D;

template <typename T>
class DeviceBuffer3D;
}  // namespace muda