Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
fft_mpi.cpp File Reference
#include "gmxpre.h"
#include "config.h"
#include <algorithm>
#include <random>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/fft/fft.h"
#include "gromacs/fft/gpu_3dfft.h"
#include "gromacs/gpu_utils/clfftinitializer.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/mpiinfo.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/mpitest.h"
#include "testutils/refdata.h"
#include "testutils/test_hardware_environment.h"
#include "testutils/testasserts.h"
#include "testutils/testmatchers.h"
+ Include dependency graph for fft_mpi.cpp:

Description

Tests utilities for fft calculations.

Author
Gaurav Garg gauga.nosp@m.rg@n.nosp@m.vidia.nosp@m..com

Typedefs

using gmx::test::GpuFftTestParams = std::tuple< std::tuple< IVec, int, int >, FftBackend >
 
using gmx::test::GpuFftTestGridParams = std::tuple_element< 0, GpuFftTestParams >::type
 

Functions

static GpuAwareMpiStatus gmx::test::getGpuAwareMpiStatusForFftBackend (const FftBackend fftBackend)
 
static void gmx::test::checkRealGrid (const IVec realGridSizeFull, const ivec realGridSize, const ivec realGridSizePadded, ArrayRef< const real > inputRealGrid, ArrayRef< real > outputRealGridValues)
 Check that the real grid after forward and backward 3D transforms matches the input real grid.
 

Variables

std::vector
< GpuFftTestGridParams > const 
gmx::test::inputGrids
 
std::vector< FftBackend > const gmx::test::inputBackends