Nektar++
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
TestDeviceFFT.cpp File Reference
#include <cmath>
#include <stdexcept>
#include <boost/test/unit_test.hpp>
#include <LibUtilities/Backends/Backends.hpp>
#include <LibUtilities/BasicUtils/SharedArray.hpp>
#include <LibUtilities/FFT/NekDeviceFFT.h>
#include <LibUtilities/FFT/NektarFFT.h>

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::DeviceFFTUnitTests
 

Functions

static void Nektar::DeviceFFTUnitTests::FillSine (Array< OneD, double > &phys, int N, int k)
 
static void Nektar::DeviceFFTUnitTests::FillCosine (Array< OneD, double > &phys, int N, int k)
 
static void Nektar::DeviceFFTUnitTests::FillSignal (Array< OneD, double > &arr, int N)
 
static void Nektar::DeviceFFTUnitTests::CheckOtherModesZero (const Array< OneD, double > &coef, int N, int skipReal, int skipImag)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFactoryRegistration)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestDCSignal)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestSineCosineMode)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestRoundTrip)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestRoundTripDeviceResident)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestBatchedRoundTrip)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestPlanCacheIsPopulated)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestGraphCaptureDefaultStream)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestGraphRoundTrip)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestLaunchGraphWithoutCapture)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatFactoryRegistration)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatDCSignal)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatRoundTrip)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatBatchedRoundTrip)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatSineCosineMode)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatRoundTripDeviceResident)
 
 Nektar::DeviceFFTUnitTests::BOOST_AUTO_TEST_CASE (TestFloatGraphRoundTrip)
 

Variables

static constexpr double Nektar::DeviceFFTUnitTests::TOL = 1.0e-12
 
static constexpr unsigned int Nektar::DeviceFFTUnitTests::GRAPH_STREAM_ID = 1