Rate This Document
Findability
Accuracy
Completeness
Readability

LattBase

The following table describes the parameters in the LattBase structure.

Table 1 LattBase structure

Variable

Type

Description

latSupBulkFL

Lattice

Full process, no halo, full lattice

latSupBulkCB

Lattice

Full process, no halo, odd or even lattice

latSubFullFL

Lattice

Subprocess, with halo, full lattice

latSubFullCB

Lattice

Subprocess, with halo, odd or even lattice

latSubBulkFL

Lattice

Subprocess, no halo, full lattice

latSubBulkCB

Lattice

Subprocess, no halo, odd or even lattice

latFull

Lattice *

Lattice with halo for the subprocess based on site_subset

latBulk

Lattice *

Halo-free lattice for the subprocess based on site_subset

lenFull

size_t

Total size of lattices with halo for the subprocess based on site_subset

lenBulk

size_t

Total size of halo-free lattices for the subprocess based on site_subset

gridDim

array<unsigned short, 4>

Process splitting policy for each dimension

haloDepth

unsigned short

Halo depth. Set to 0 for vectors and 3 for matrices.

Nbatch

unsigned int

Batch size in the x direction

myRank

int

ID of the current process

np

int

Number of processes

prec

KuQCDPrecision

Precision, including:

  • KUQCD_HALF
  • KUQCD_SINGLE
  • KUQCD_DOUBLE

gauge_order

KuQCDGaugeOrder

Whether to perform x-dimension batching. The options are as follows:

  • KUQCD_NORMAL_ORDER
  • KUQCD_BATCH_ORDER

rankOrder

KuQCDRankOrder

Lattice order, which can be:

  • XYZT_ORDER
  • TZYX_ORDER

site_subset

KuQCDSiteSubset

Sub-lattice, which can be:

  • KUQCD_EVEN
  • KUQCD_ODD
  • KUQCD_ALL

myIdx

Index

Lattice index