QUDA  v1.1.0
A library for QCD on GPUs
Functions
layout_hyper.cpp File Reference
#include <limits>
#include <stdlib.h>
#include <stdio.h>
#include <qmp.h>
#include <layout_hyper.h>
#include <util_quda.h>

Go to the source code of this file.

Functions

int quda_setup_layout (int len[], int nd, int numnodes, int single_parity_)
 
int quda_node_number (const int x[])
 
size_t quda_node_index_helper (const int x[])
 
int quda_node_index (const int x[])
 
void quda_get_coords_helper (int x[], int node, size_t index)
 
void quda_get_coords (int x[], int node, int index)
 
int quda_num_sites (int node)
 

Function Documentation

◆ quda_get_coords()

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

Definition at line 201 of file layout_hyper.cpp.

◆ quda_get_coords_helper()

void quda_get_coords_helper ( int  x[],
int  node,
size_t  index 
)

Definition at line 131 of file layout_hyper.cpp.

◆ quda_node_index()

int quda_node_index ( const int  x[])

Definition at line 120 of file layout_hyper.cpp.

◆ quda_node_index_helper()

size_t quda_node_index_helper ( const int  x[])

Definition at line 93 of file layout_hyper.cpp.

◆ quda_node_number()

int quda_node_number ( const int  x[])

Definition at line 79 of file layout_hyper.cpp.

◆ quda_num_sites()

int quda_num_sites ( int  node)

Definition at line 212 of file layout_hyper.cpp.

◆ quda_setup_layout()

int quda_setup_layout ( int  len[],
int  nd,
int  numnodes,
int  single_parity_ 
)

Definition at line 32 of file layout_hyper.cpp.