QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
layout_hyper.h
Go to the documentation of this file.
1 #ifndef LAYOUT_HYPER_H
2 #define LAYOUT_HYPER_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7  /* layout_hyper */
8  int setup_layout(int len[], int nd, int numnodes);
9  int node_number(const int x[]);
10  int node_index(const int x[]);
11  void get_coords(int x[], int node, int index);
12  int num_sites(int node);
13  extern int this_node;
14 
15 #ifdef __cplusplus
16 }
17 #endif
18 
19 #endif // LAYOUT_HYPER_H
int node_number(const int x[])
Definition: layout_hyper.c:194
int this_node
Definition: gauge_qio.cpp:9
int node_index(const int x[])
Definition: layout_hyper.c:204
int num_sites(int node)
Definition: layout_hyper.c:272
int x[4]
void get_coords(int x[], int node, int index)
Definition: layout_hyper.c:221
int setup_layout(int len[], int nd, int numnodes)
Definition: layout_hyper.c:140