QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
quda::CommKey Struct Reference

#include <comm_key.h>

Public Member Functions

constexpr int product ()
 
constexpr int & operator[] (int d)
 
constexpr const int & operator[] (int d) const
 
constexpr int * data ()
 
constexpr const int * data () const
 
constexpr bool is_valid () const
 

Public Attributes

int array [n_dim] = {0, 0, 0, 0}
 

Static Public Attributes

static constexpr int n_dim = 4
 

Detailed Description

Definition at line 6 of file comm_key.h.

Member Function Documentation

◆ data() [1/2]

constexpr int* quda::CommKey::data ( )
inlineconstexpr

Definition at line 18 of file comm_key.h.

◆ data() [2/2]

constexpr const int* quda::CommKey::data ( ) const
inlineconstexpr

Definition at line 20 of file comm_key.h.

◆ is_valid()

constexpr bool quda::CommKey::is_valid ( ) const
inlineconstexpr

Definition at line 22 of file comm_key.h.

◆ operator[]() [1/2]

constexpr int& quda::CommKey::operator[] ( int  d)
inlineconstexpr

Definition at line 14 of file comm_key.h.

◆ operator[]() [2/2]

constexpr const int& quda::CommKey::operator[] ( int  d) const
inlineconstexpr

Definition at line 16 of file comm_key.h.

◆ product()

constexpr int quda::CommKey::product ( )
inlineconstexpr

Definition at line 12 of file comm_key.h.

Member Data Documentation

◆ array

int quda::CommKey::array[n_dim] = {0, 0, 0, 0}

Definition at line 10 of file comm_key.h.

◆ n_dim

constexpr int quda::CommKey::n_dim = 4
staticconstexpr

Definition at line 8 of file comm_key.h.


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