Advanced Multi-Physics (AMP)
On-Line Documentation
Classes | Namespaces | Macros | Functions
ArraySize.h File Reference
#include <array>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <initializer_list>
#include <stdexcept>
#include <vector>
#include "AMP/utils/Memory.h"
Include dependency graph for ArraySize.h:

Go to the source code of this file.

Classes

class  AMP::ArraySize
 Simple class to store the array dimensions. More...
 
class  AMP::Range< TYPE >
 Simple range class. More...
 

Namespaces

namespace  AMP
 

Macros

#define ARRAY_INLINE   HOST_DEVICE inline
 
#define ARRAY_INSIST(test, msg)
 
#define CHECK_ARRAY_LENGTH(i, length)
 
#define CONSTEXPR   HOST_DEVICE constexpr
 
#define CONSTEXPR_IF   constexpr
 
#define HOST_DEVICE
 

Functions

constexpr ArraySize AMP::cat (const ArraySize &x, const ArraySize &y)
 
constexpr ArraySize AMP::multiplySize (const ArraySize &sa, const ArraySize &sb)
 
constexpr ArraySize AMP::operator* (const ArraySize &x, const ArraySize &y)
 
constexpr ArraySize AMP::operator* (const ArraySize &x, size_t v)
 
constexpr ArraySize AMP::operator* (size_t v, const ArraySize &x)
 
constexpr ArraySize AMP::operator+ (const ArraySize &x, size_t v)
 
constexpr ArraySize AMP::operator+ (size_t v, const ArraySize &x)
 
constexpr ArraySize AMP::operator- (const ArraySize &x, size_t v)
 
constexpr ArraySize AMP::pop (const ArraySize &x)
 
constexpr ArraySize AMP::squeeze (const ArraySize &x)
 

Macro Definition Documentation

◆ ARRAY_INLINE

#define ARRAY_INLINE   HOST_DEVICE inline

Definition at line 41 of file ArraySize.h.

◆ ARRAY_INSIST

#define ARRAY_INSIST (   test,
  msg 
)
Value:
do { \
} while ( 0 )

Definition at line 59 of file ArraySize.h.

◆ CHECK_ARRAY_LENGTH

#define CHECK_ARRAY_LENGTH (   i,
  length 
)
Value:
do { \
} while ( 0 )

Definition at line 56 of file ArraySize.h.

◆ CONSTEXPR

#define CONSTEXPR   HOST_DEVICE constexpr

Definition at line 33 of file ArraySize.h.

◆ CONSTEXPR_IF

#define CONSTEXPR_IF   constexpr

Definition at line 34 of file ArraySize.h.

◆ HOST_DEVICE

#define HOST_DEVICE

Definition at line 24 of file ArraySize.h.



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page