Intel HE Acceleration Library for FPGAs
Intel Homomorphic Encryption Acceleration Library for FPGAs, accelerating the modular arithmetic operations used in homomorphic encryption on Intel FPGAs.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
bench_keyswitch.cpp File Reference
#include <glob.h>
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <benchmark/benchmark.h>
#include "hexl-fpga.h"

Classes

struct  KeySwitchTestVector
 
class  keyswitch
 

Functions

 if (!fname)
 
 for (size_t i=0;i< filesx.size();i++)
 
 setup_keyswitch (files)
 
 for (auto st:state)
 

Variables

benchmark::State & state
 
std::string test_file = "/16384_6_7_7_2_*"
 
std::string test_fullname = fname + test_file + ".json"
 
std::vector< std::string > filesx = glob(test_fullname.c_str())
 
std::vector< std::string > files
 

Function Documentation

for ( )
for ( auto st:state  )
if ( fname)
setup_keyswitch ( files  )

Variable Documentation

std::vector<std::string> files
std::vector<std::string> filesx = glob(test_fullname.c_str())
benchmark::State& state
Initial value:
{
const char* fname = getenv("KEYSWITCH_DATA_DIR")
std::string test_file = "/16384_6_7_7_2_*"
std::string test_fullname = fname + test_file + ".json"