QUDA v0.4.0
A library for QCD on GPUs
quda/tests/layout_hyper.h
Go to the documentation of this file.
00001 #ifndef LAYOUT_HYPER_H
00002 #define LAYOUT_HYPER_H
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007   /* layout_hyper */
00008   int setup_layout(int len[], int nd, int numnodes);
00009   int node_number(const int x[]);
00010   int node_index(const int x[]);
00011   void get_coords(int x[], int node, int index);
00012   int num_sites(int node);
00013   extern int this_node;
00014 
00015 #ifdef __cplusplus
00016 }
00017 #endif
00018 
00019 #endif //  LAYOUT_HYPER_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines