1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00
Go to file
2015-05-16 04:33:10 +01:00
benchmarks Added su3 matrix benchmark. 2015-05-15 14:41:19 +01:00
gcc-bug-report Log the bug report code into the git repo. 2015-05-15 12:39:53 +01:00
lib strong inline 2015-05-16 04:33:10 +01:00
m4 Build progressing 2015-03-04 04:34:51 +00:00
tests Out of source compile now working 2015-05-15 12:21:40 +01:00
.gitignore Remove stub files 2015-04-06 11:29:55 +01:00
aclocal.m4 I have made the Cshift work successfully with open mp threading in 2015-05-13 00:31:00 +01:00
AUTHORS Update AUTHORS 2015-03-07 07:00:39 +00:00
build-all Convenience multi-compiler build with out of source compile 2015-05-15 12:21:10 +01:00
ChangeLog Updating build system 2015-03-04 04:53:40 +00:00
compile files 2015-03-04 11:57:14 +00:00
configure clang++ 3.4/5/7 compile happy for AVX and SSE 2015-05-15 11:52:11 +01:00
configure-all Convenience multi-compiler build with out of source compile 2015-05-15 12:21:10 +01:00
configure-commands Extra compile targs 2015-05-15 14:41:59 +01:00
configure-mic Convenience multi-compiler build with out of source compile 2015-05-15 12:21:10 +01:00
configure.ac clang++ 3.4/5/7 compile happy for AVX and SSE 2015-05-15 11:52:11 +01:00
COPYING Extra files 2015-03-04 12:03:07 +00:00
depcomp files 2015-03-04 11:57:14 +00:00
INSTALL Update INSTALL 2015-03-07 07:09:09 +00:00
install-sh file 2015-03-04 11:55:44 +00:00
LICENSE Initial commit 2015-03-04 02:30:11 +00:00
Makefile.am Starting a benchmarking sub dir 2015-05-02 17:52:36 +01:00
Makefile.in I have made the Cshift work successfully with open mp threading in 2015-05-13 00:31:00 +01:00
missing files 2015-03-04 11:57:14 +00:00
NEWS Updating build system 2015-03-04 04:53:40 +00:00
README Update README 2015-03-07 07:19:01 +00:00
README.md typo 2015-04-18 12:40:55 +01:00
TODO OMP dslash working 2015-05-13 10:59:22 +01:00

Grid

Data parallel C++ mathematical object library

This library provides data parallel C++ container classes with internal memory layout that is transformed to map efficiently to SIMD architectures. CSHIFT facilities are provided, similar to HPF and cmfortran, and user control is given over the mapping of array indices to both MPI tasks and SIMD processing elements.

  • Identically shaped arrays then be processed with perfect data parallelisation.
  • Such identically shapped arrays are called conformable arrays.

The transformation is based on the observation that Cartesian array processing involves identical processing to be performed on different regions of the Cartesian array.

The library will both geometrically decompose into MPI tasks and across SIMD lanes. Local vector loops are parallelised with OpenMP pragmas.

Data parallel array operations can then be specified with a SINGLE data parallel paradigm, but optimally use MPI, OpenMP and SIMD parallelism under the hood. This is a significant simplification for most programmers.

The layout transformations are parametrised by the SIMD vector length. This adapts according to the architecture. Presently SSE2 (128 bit) AVX, AVX2 (256 bit) and IMCI and AVX512 (512 bit) targets are supported.

These are presented as

vRealF, vRealD, vComplexF, vComplexD

internal vector data types. These may be useful in themselves for other programmers. The corresponding scalar types are named

RealF, RealD, ComplexF, ComplexD

MPI, OpenMP, and SIMD parallelism are present in the library.

You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here are examples:

 ./configure CXX=clang++ CXXFLAGS="-std=c++11 -O3 -mavx" --enable-simd=AVX1

 ./configure CXX=clang++ CXXFLAGS="-std=c++11 -O3 -mavx2" --enable-simd=AVX2

 ./configure CXX=icpc CXXFLAGS="-std=c++11 -O3 -mmic" --enable-simd=AVX512 --host=none