PandA-2024.02
Macros | Functions | Variables
local_support.c File Reference
#include "fft.h"
#include <string.h>
Include dependency graph for local_support.c:

Go to the source code of this file.

Macros

#define EPSILON   ((double)1.0e-6)
 

Functions

void run_benchmark (void *vargs)
 
void input_to_data (int fd, void *vdata)
 
void data_to_input (int fd, void *vdata)
 
void output_to_data (int fd, void *vdata)
 
void data_to_output (int fd, void *vdata)
 
int check_data (void *vdata, void *vref)
 

Variables

int INPUT_SIZE = sizeof(struct bench_args_t)
 

Macro Definition Documentation

◆ EPSILON

#define EPSILON   ((double)1.0e-6)

Definition at line 6 of file local_support.c.

Referenced by check_data().

Function Documentation

◆ check_data()

int check_data ( void *  vdata,
void *  vref 
)

Definition at line 93 of file local_support.c.

References EPSILON, FFT_SIZE, bench_args_t::img, and bench_args_t::real.

◆ data_to_input()

void data_to_input ( int  fd,
void *  vdata 
)

Definition at line 44 of file local_support.c.

References FFT_SIZE, bench_args_t::img, bench_args_t::img_twid, bench_args_t::real, bench_args_t::real_twid, write_double_array(), and write_section_header().

Here is the call graph for this function:

◆ data_to_output()

void data_to_output ( int  fd,
void *  vdata 
)

Definition at line 83 of file local_support.c.

References FFT_SIZE, bench_args_t::img, bench_args_t::real, write_double_array(), and write_section_header().

Here is the call graph for this function:

◆ input_to_data()

void input_to_data ( int  fd,
void *  vdata 
)

Definition at line 24 of file local_support.c.

References FFT_SIZE, find_section_start(), bench_args_t::img, bench_args_t::img_twid, parse_double_array(), readfile(), bench_args_t::real, and bench_args_t::real_twid.

Here is the call graph for this function:

◆ output_to_data()

void output_to_data ( int  fd,
void *  vdata 
)

Definition at line 67 of file local_support.c.

References FFT_SIZE, find_section_start(), bench_args_t::img, parse_double_array(), readfile(), and bench_args_t::real.

Here is the call graph for this function:

◆ run_benchmark()

void run_benchmark ( void *  vargs)

Definition at line 8 of file local_support.c.

References test_panda::args, fft(), bench_args_t::img, bench_args_t::img_twid, bench_args_t::real, and bench_args_t::real_twid.

Here is the call graph for this function:

Variable Documentation

◆ INPUT_SIZE

int INPUT_SIZE = sizeof(struct bench_args_t)

Definition at line 4 of file local_support.c.


Generated on Mon Feb 12 2024 13:03:09 for PandA-2024.02 by doxygen 1.8.13