(git:e70887f)
Loading...
Searching...
No Matches
fft_unittest.c File Reference
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../mpiwrap/cp_mpi.h"
#include "../offload/offload_library.h"
#include "fft_lib.h"
#include "fft_lib_test.h"
#include "fft_timer.h"

Go to the source code of this file.

Functions

int run_unittests (const int backend, const int planning_mode, const bool use_guru, const double threshold)
 Run all FFT unit tests for the selected backend.
int main (int argc, char *argv[])
 Entry point of the FFT unit-test program.

Function Documentation

◆ run_unittests()

int run_unittests ( const int backend,
const int planning_mode,
const bool use_guru,
const double threshold )

Run all FFT unit tests for the selected backend.

Parameters
backendFFT backend selector.
planning_modeFFTW planning mode.
use_guruWhether to use the FFTW Guru interface.
thresholdMinimum relative timing value to report.
Returns
Number of failed checks.

Definition at line 27 of file fft_unittest.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int argc,
char * argv[] )

Entry point of the FFT unit-test program.

Parameters
argcNumber of command-line arguments.
argvCommand-line arguments.
Returns
Exit status (0 on success).

Definition at line 53 of file fft_unittest.c.

Here is the call graph for this function: