Grid 0.7.0
Threads.h File Reference

Go to the source code of this file.

Macros

#define MAX(x, y)
#define MIN(x, y)
#define strong_inline
#define UNROLL
#define DO_PRAGMA_(x)
#define DO_PRAGMA(x)
#define thread_num(a)
#define thread_max(a)
#define thread_for(i, num, ...)
#define thread_for2d(i1, n1, i2, n2, ...)
#define thread_foreach(i, container, ...)
#define thread_for_in_region(i, num, ...)
#define thread_for_collapse2(i, num, ...)
#define thread_for_collapse(N, i, num, ...)
#define thread_for_collapse_in_region(N, i, num, ...)
#define thread_region
#define thread_critical

Functions

void thread_bcopy (const void *from, void *to, size_t bytes)

Macro Definition Documentation

◆ MAX

#define MAX ( x,
y )

Definition at line 32 of file Threads.h.

◆ MIN

#define MIN ( x,
y )

Definition at line 33 of file Threads.h.

◆ strong_inline

◆ UNROLL

#define UNROLL

Definition at line 37 of file Threads.h.

◆ DO_PRAGMA_

#define DO_PRAGMA_ ( x)

Definition at line 54 of file Threads.h.

◆ DO_PRAGMA

#define DO_PRAGMA ( x)

Definition at line 55 of file Threads.h.

◆ thread_num

#define thread_num ( a)

Definition at line 56 of file Threads.h.

◆ thread_max

#define thread_max ( a)

Definition at line 57 of file Threads.h.

◆ thread_for

#define thread_for ( i,
num,
... )

Definition at line 60 of file Threads.h.

Referenced by basisRotate(), BinaryIO::be32toh_v(), BinaryIO::be64toh_v(), A2Autils< FImpl >::ContractFourQuarkColourDiagonal(), A2Autils< FImpl >::ContractFourQuarkColourMix(), A2Autils< FImpl >::ContractWWVV(), ScalarInteractionAction< ScalarNxNAdjImplR< Colours >, Dimensions >::deriv(), ImprovedStaggeredFermion< Impl >::DerivInternal(), NaiveStaggeredFermion< Impl >::DerivInternal(), Determinant(), ImprovedStaggeredFermion5D< Impl >::DhopDir(), ImprovedStaggeredFermion< Impl >::DhopDir(), DomainWallVec5dImpl< vComplex, FundamentalRepresentation, CoeffReal >::DoubleStore(), ExtractSlice(), FermToProp(), FFT::FFT_dim(), GridParallelRNG::fill(), CoarsenedMatrix< Fobj, CComplex, nbasis >::fillFactor(), GridBLAS::gemmBatched(), GridBLAS::gemmBatched(), GridBLAS::gemmBatched(), GridBLAS::gemmBatched(), GeneralLocalStencil::GeneralLocalStencil(), Grid_split(), Grid_unsplit(), InsertSlice(), CloverHelpers< Impl >::Instantiate(), Inverse(), CompactWilsonCloverHelpers< Impl >::Invert(), CoarsenedMatrix< Fobj, CComplex, nbasis >::InvertSelfStencilLink(), LatticeCoordinate(), BinaryIO::le32toh_v(), BinaryIO::le64toh_v(), LLComparison(), localConvert(), LSComparison(), CompactWilsonCloverHelpers< Impl >::MooeeKernel_cpu(), operator<(), Lattice< CoarseSiteVector >::operator=(), pickCheckerboard(), precisionChangeOrig(), precisionChangeWorkspace::precisionChangeWorkspace(), ProjectSU3(), PropToFerm(), OpenQcdIO::readConfiguration(), BinaryIO::readLatticeObject(), BinaryIO::readRNG(), ScalarInteractionAction< ScalarNxNAdjImplR< Colours >, Dimensions >::S(), GridParallelRNG::SeedFixedIntegers(), setCheckerboard(), sliceInnerProductVector(), sliceSumReduction_cpu(), KappaSimilarityTransform< Matrix, Field >::sscale(), sum_cpu(), sumD_cpu(), unvectorizeToLexOrdArray(), unvectorizeToRevLexOrdArray(), vectorizeFromLexOrdArray(), vectorizeFromRevLexOrdArray(), Grid::whereWolf(), BinaryIO::writeLatticeObject(), and BinaryIO::writeRNG().

◆ thread_for2d

#define thread_for2d ( i1,
n1,
i2,
n2,
... )

Definition at line 61 of file Threads.h.

Referenced by sliceMaddVector().

◆ thread_foreach

◆ thread_for_in_region

#define thread_for_in_region ( i,
num,
... )

Definition at line 68 of file Threads.h.

Referenced by BinaryIO::NerscChecksum(), and BinaryIO::ScidacChecksum().

◆ thread_for_collapse2

#define thread_for_collapse2 ( i,
num,
... )

Definition at line 69 of file Threads.h.

◆ thread_for_collapse

#define thread_for_collapse ( N,
i,
num,
... )

Definition at line 70 of file Threads.h.

◆ thread_for_collapse_in_region

#define thread_for_collapse_in_region ( N,
i,
num,
... )

Definition at line 71 of file Threads.h.

◆ thread_region

#define thread_region

◆ thread_critical

#define thread_critical

Function Documentation

◆ thread_bcopy()

void thread_bcopy ( const void * from,
void * to,
size_t bytes )
inline