Vector Optimized Library of Kernels 3.2.0
Architecture-tuned implementations of math kernels
Loading...
Searching...
No Matches
volk_profile.cc File Reference
#include <filesystem>
#include <stddef.h>
#include <sys/stat.h>
#include <volk/volk_prefs.h>
#include <fstream>
#include <iostream>
#include <map>
#include <utility>
#include <vector>
#include "kernel_tests.h"
#include "qa_utils.h"
#include "volk/volk_complex.h"
#include "volk_option_helpers.h"
#include "volk_profile.h"

Functions

void set_benchmark (bool val)
void set_tolerance (float val)
void set_vlen (int val)
void set_iter (int val)
void set_substr (std::string val)
void set_update (bool val)
void set_dryrun (bool val)
std::string json_filename ("")
void set_json (std::string val)
std::string volk_config_path ("")
void set_volk_config (std::string val)
int main (int argc, char *argv[])
void read_results (std::vector< volk_test_results_t > *results)
void read_results (std::vector< volk_test_results_t > *results, std::string path)
void write_results (const std::vector< volk_test_results_t > *results, bool update_result)
void write_results (const std::vector< volk_test_results_t > *results, bool update_result, const std::string path)
void write_json (std::ofstream &json_file, std::vector< volk_test_results_t > results)

Variables

volk_test_params_t test_params (1e-6f, 327.f, 131071, 1987, false, "")
bool update_mode = false
bool dry_run = false

Function Documentation

◆ json_filename()

std::string json_filename ( "" )

◆ main()

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

◆ read_results() [1/2]

void read_results ( std::vector< volk_test_results_t > * results)

◆ read_results() [2/2]

void read_results ( std::vector< volk_test_results_t > * results,
std::string path )

◆ set_benchmark()

void set_benchmark ( bool val)

◆ set_dryrun()

void set_dryrun ( bool val)

◆ set_iter()

void set_iter ( int val)

◆ set_json()

void set_json ( std::string val)

◆ set_substr()

void set_substr ( std::string val)

◆ set_tolerance()

void set_tolerance ( float val)

◆ set_update()

void set_update ( bool val)

◆ set_vlen()

void set_vlen ( int val)

◆ set_volk_config()

void set_volk_config ( std::string val)

◆ volk_config_path()

std::string volk_config_path ( "" )

◆ write_json()

void write_json ( std::ofstream & json_file,
std::vector< volk_test_results_t > results )

◆ write_results() [1/2]

void write_results ( const std::vector< volk_test_results_t > * results,
bool update_result )

◆ write_results() [2/2]

void write_results ( const std::vector< volk_test_results_t > * results,
bool update_result,
const std::string path )

Variable Documentation

◆ dry_run

bool dry_run = false

◆ test_params

volk_test_params_t test_params(1e-6f, 327.f, 131071, 1987, false, "") ( 1e- 6f,
327. f,
131071 ,
1987 ,
false ,
""  )

◆ update_mode

bool update_mode = false