Thin C++-flavored wrappers for the CUDA Runtime API
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cuda::array::dimensions_t< 3 > Struct Template Reference

Dimensions for 3D CUDA arrays. More...

#include <types.hpp>

Public Member Functions

constexpr __host__ __device__ dimensions_t (dimension_t width_, dimension_t height_, dimension_t depth_)
constexpr __host__ __device__ dimensions_t (cudaExtent e)
constexpr __host__ __device__ dimensions_t (const dimensions_t &other)
constexpr __host__ __device__ dimensions_t (dimensions_t &&other)
CPP14_CONSTEXPR dimensions_toperator= (const dimensions_t &other)=default
CPP14_CONSTEXPR dimensions_toperator= (dimensions_t &&other)=default
constexpr __host__ __device__ operator cudaExtent () const
constexpr __host__ __device__ size_t volume () const
constexpr __host__ __device__ size_t size () const
constexpr __host__ __device__ dimensionality_t dimensionality () const

Static Public Member Functions

static constexpr __host__ __device__ dimensions_t cube (dimension_t x)
static constexpr __host__ __device__ dimensions_t zero ()

Public Attributes

dimension_t width
dimension_t height
dimension_t depth

Detailed Description

struct cuda::array::dimensions_t< 3 >

Dimensions for 3D CUDA arrays.

The documentation for this struct was generated from the following file: