alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
DataPitches.hpp File Reference
#include "alpaka/CVec.hpp"
#include "alpaka/Vec.hpp"
#include "alpaka/core/config.hpp"
#include "alpaka/mem/Alignment.hpp"
#include <type_traits>

Go to the source code of this file.

Classes

struct  alpaka::DataPitches< T_Type, T_Pitches >
struct  alpaka::DataPitches< T_Type, Vec< T_IndexType, 1u, T_Storage > >

Namespaces

namespace  alpaka
 main alpaka namespace.

Functions

template<typename T_Elem, alpaka::concepts::Vector T_Vec>
constexpr auto alpaka::calculatePitches (T_Vec const &extent, typename T_Vec::type const &rowPitchBytes)
 Calculate the pitches purely from the extents.
template<typename T_Elem, alpaka::concepts::Vector T_Vec>
constexpr auto alpaka::calculatePitchesFromExtents (T_Vec const &extent)
 Calculate the pitches purely from the extents.