QUDA  0.9.0
Functions | Variables
layout_hyper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int setup_layout (int len[], int nd, int numnodes)
 
int node_number (const int x[])
 
int node_index (const int x[])
 
void get_coords (int x[], int node, int index)
 
int num_sites (int node)
 

Variables

int this_node
 

Function Documentation

◆ get_coords()

void get_coords ( int  x[],
int  node,
int  index 
)

Definition at line 232 of file layout_hyper.c.

References exit(), fprintf(), free(), fused_exterior_ndeg_tm_dslash_cuda_gen::i, index(), ndim, node_index(), s, size1, size2, squaresize, this_node, and x.

Referenced by set_layout().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ node_index()

int node_index ( const int  x[])

Definition at line 215 of file layout_hyper.c.

References fused_exterior_ndeg_tm_dslash_cuda_gen::i, ndim, p, sites_on_node, squaresize, and x.

Referenced by get_coords(), set_layout(), and vset_M().

Here is the caller graph for this function:

◆ node_number()

int node_number ( const int  x[])

Definition at line 205 of file layout_hyper.c.

References fused_exterior_ndeg_tm_dslash_cuda_gen::i, mcoord, ndim, squaresize, and x.

Referenced by set_layout(), and vset_M().

Here is the caller graph for this function:

◆ num_sites()

int num_sites ( int  node)

Definition at line 283 of file layout_hyper.c.

References sites_on_node.

Referenced by set_layout(), vcompare_M(), and vcreate_M().

Here is the caller graph for this function:

◆ setup_layout()

int setup_layout ( int  len[],
int  nd,
int  numnodes 
)

Definition at line 150 of file layout_hyper.c.

References fused_exterior_ndeg_tm_dslash_cuda_gen::i, int, len, malloc(), mcoord, ndim, nsquares, printf(), setup_hyper_prime(), setup_qmp_fixed(), setup_qmp_grid(), sites_on_node, size1, size2, and squaresize.

Referenced by set_layout().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ this_node

int this_node