Cuda::SizeBase< Dim > Class Template Reference
Base class for multi-dimensional size type.
More...
#include <size.hpp>
List of all members.
|
Public Member Functions |
size_t | getSize () const |
| Get total number of elements.
|
Detailed Description
template<unsigned Dim>
class Cuda::SizeBase< Dim >
Base class for multi-dimensional size type.
Think of it as a multi-dimensional variant of size_t.
Member Function Documentation
Get total number of elements.
This is the product of the sizes in each dimension.
- Returns:
- total number of elements
The documentation for this class was generated from the following file:
- include/cudatemplates/size.hpp