-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/dirac-ITT-2020'
- Loading branch information
Showing
1,060 changed files
with
96,470 additions
and
82,276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Version : 0.8.0 | ||
|
||
- Clang 3.5 and above, ICPC v16 and above, GCC 6.3 and above recommended | ||
- MPI and MPI3 comms optimisations for KNL and OPA finished | ||
- Half precision comms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/************************************************************************************* | ||
Grid physics library, www.github.com/paboyle/Grid | ||
Source file: ./lib/DisableWarnings.h | ||
Copyright (C) 2016 | ||
Author: Guido Cossu <[email protected]> | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License along | ||
with this program; if not, write to the Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
See the full license in the file "LICENSE" in the top level distribution | ||
directory | ||
*************************************************************************************/ | ||
/* END LEGAL */ | ||
|
||
#ifndef DISABLE_WARNINGS_H | ||
#define DISABLE_WARNINGS_H | ||
|
||
|
||
|
||
#if defined __GNUC__ && __GNUC__>=6 | ||
#pragma GCC diagnostic ignored "-Wignored-attributes" | ||
#endif | ||
|
||
//disables and intel compiler specific warning (in json.hpp) | ||
#pragma warning disable 488 | ||
|
||
#ifdef __NVCC__ | ||
//disables nvcc specific warning in json.hpp | ||
#pragma clang diagnostic ignored "-Wdeprecated-register" | ||
#pragma diag_suppress unsigned_compare_with_zero | ||
#pragma diag_suppress cast_to_qualified_type | ||
|
||
//disables nvcc specific warning in many files | ||
#pragma diag_suppress esa_on_defaulted_function_ignored | ||
#pragma diag_suppress extra_semicolon | ||
|
||
//Eigen only | ||
#endif | ||
|
||
// Disable vectorisation in Eigen on the Power8/9 and PowerPC | ||
#ifdef __ALTIVEC__ | ||
#define EIGEN_DONT_VECTORIZE | ||
#endif | ||
#ifdef __VSX__ | ||
#define EIGEN_DONT_VECTORIZE | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ Author: paboyle <[email protected]> | |
#include <Grid/GridQCDcore.h> | ||
#include <Grid/qcd/action/Action.h> | ||
#include <Grid/qcd/utils/GaugeFix.h> | ||
#include <Grid/qcd/utils/CovariantSmearing.h> | ||
#include <Grid/qcd/smearing/Smearing.h> | ||
#include <Grid/parallelIO/MetaData.h> | ||
#include <Grid/qcd/hmc/HMC_aggregate.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,16 +38,20 @@ Author: paboyle <[email protected]> | |
#ifndef GRID_BASE_H | ||
#define GRID_BASE_H | ||
|
||
#include <Grid/GridStd.h> | ||
|
||
#include <Grid/DisableWarnings.h> | ||
#include <Grid/Namespace.h> | ||
#include <Grid/GridStd.h> | ||
#include <Grid/threads/Pragmas.h> | ||
#include <Grid/perfmon/Timer.h> | ||
#include <Grid/perfmon/PerfCount.h> | ||
#include <Grid/util/Util.h> | ||
#include <Grid/log/Log.h> | ||
#include <Grid/allocator/AlignedAllocator.h> | ||
#include <Grid/allocator/Allocator.h> | ||
#include <Grid/simd/Simd.h> | ||
#include <Grid/threads/ThreadReduction.h> | ||
#include <Grid/serialisation/Serialisation.h> | ||
#include <Grid/threads/Threads.h> | ||
#include <Grid/util/Util.h> | ||
#include <Grid/util/Sha.h> | ||
#include <Grid/communicator/Communicator.h> | ||
#include <Grid/cartesian/Cartesian.h> | ||
#include <Grid/tensors/Tensors.h> | ||
|
@@ -56,5 +60,6 @@ Author: paboyle <[email protected]> | |
#include <Grid/stencil/Stencil.h> | ||
#include <Grid/parallelIO/BinaryIO.h> | ||
#include <Grid/algorithms/Algorithms.h> | ||
NAMESPACE_CHECK(GridCore) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,5 +38,6 @@ Author: paboyle <[email protected]> | |
#include <Grid/qcd/spin/Spin.h> | ||
#include <Grid/qcd/utils/Utils.h> | ||
#include <Grid/qcd/representations/Representations.h> | ||
NAMESPACE_CHECK(GridQCDCore); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
#include <Grid/GridCore.h> | ||
#pragma once | ||
// Force Eigen to use MKL if Grid has been configured with --enable-mkl | ||
#ifdef USE_MKL | ||
#define EIGEN_USE_MKL_ALL | ||
#endif | ||
|
||
|
||
#if defined __GNUC__ | ||
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" | ||
#endif | ||
|
||
/* NVCC save and restore compile environment*/ | ||
#ifdef __NVCC__ | ||
#pragma push | ||
#pragma diag_suppress code_is_unreachable | ||
#pragma push_macro("__CUDA_ARCH__") | ||
#pragma push_macro("__NVCC__") | ||
#pragma push_macro("__CUDACC__") | ||
#undef __CUDA_ARCH__ | ||
#undef __NVCC__ | ||
#undef __CUDACC__ | ||
#define __NVCC__REDEFINE__ | ||
#endif | ||
|
||
/* SYCL save and restore compile environment*/ | ||
#ifdef GRID_SYCL | ||
#pragma push | ||
#pragma push_macro("__SYCL_DEVICE_ONLY__") | ||
#undef __SYCL_DEVICE_ONLY__ | ||
#define EIGEN_DONT_VECTORIZE | ||
//#undef EIGEN_USE_SYCL | ||
#define __SYCL__REDEFINE__ | ||
#endif | ||
|
||
/* HIP save and restore compile environment*/ | ||
#ifdef GRID_HIP | ||
#pragma push | ||
#pragma push_macro("__HIP_DEVICE_COMPILE__") | ||
#endif | ||
#define EIGEN_NO_HIP | ||
|
||
#include <Grid/Eigen/Dense> | ||
#include <Grid/Eigen/unsupported/CXX11/Tensor> | ||
|
||
/* NVCC restore */ | ||
#ifdef __NVCC__REDEFINE__ | ||
#pragma pop_macro("__CUDACC__") | ||
#pragma pop_macro("__NVCC__") | ||
#pragma pop_macro("__CUDA_ARCH__") | ||
#pragma pop | ||
#endif | ||
|
||
/*SYCL restore*/ | ||
#ifdef __SYCL__REDEFINE__ | ||
#pragma pop_macro("__SYCL_DEVICE_ONLY__") | ||
#pragma pop | ||
#endif | ||
|
||
/*HIP restore*/ | ||
#ifdef __HIP__REDEFINE__ | ||
#pragma pop_macro("__HIP_DEVICE_COMPILE__") | ||
#pragma pop | ||
#endif | ||
|
||
#if defined __GNUC__ | ||
#pragma GCC diagnostic pop | ||
#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include <Grid/Grid_Eigen_Dense.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/************************************************************************************* | ||
Grid physics library, www.github.com/paboyle/Grid | ||
Source file: ./lib/Namespace.h | ||
Copyright (C) 2016 | ||
Author: Peter Boyle <[email protected]> | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License along | ||
with this program; if not, write to the Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
See the full license in the file "LICENSE" in the top level distribution | ||
directory | ||
*************************************************************************************/ | ||
/* END LEGAL */ | ||
#pragma once | ||
|
||
#include <type_traits> | ||
#include <cassert> | ||
|
||
#define NAMESPACE_BEGIN(A) namespace A { | ||
#define NAMESPACE_END(A) } | ||
#define GRID_NAMESPACE_BEGIN NAMESPACE_BEGIN(Grid) | ||
#define GRID_NAMESPACE_END NAMESPACE_END(Grid) | ||
#define NAMESPACE_CHECK(x) struct namespaceTEST##x {}; static_assert(std::is_same<namespaceTEST##x, ::namespaceTEST##x>::value,"Not in :: at" ); |
Oops, something went wrong.