Intel HEXL for FPGA
Intel Homomorphic Encryption FPGA Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
tests
tests/fpga_context.h
Go to the documentation of this file.
1
// Copyright (C) 2020-2021 Intel Corporation
2
// SPDX-License-Identifier: Apache-2.0
3
4
#pragma once
5
6
#include "
hexl-fpga.h
"
7
8
class
fpga_context
:
public
::testing::Environment {
9
public
:
10
virtual
~fpga_context
() {}
11
virtual
void
SetUp
() {
intel::hexl::acquire_FPGA_resources
(); }
12
13
virtual
void
TearDown
() {
intel::hexl::release_FPGA_resources
(); }
14
};
fpga_context::~fpga_context
virtual ~fpga_context()
Definition:
tests/fpga_context.h:10
intel::hexl::release_FPGA_resources
void release_FPGA_resources()
Function release_FPGA_resources Called without any parameter, releases the FPGA hardware resources on...
fpga_context::TearDown
virtual void TearDown()
Definition:
tests/fpga_context.h:13
hexl-fpga.h
intel::hexl::acquire_FPGA_resources
void acquire_FPGA_resources()
Function acquire_FPGA_resources Called without any parameter, reserves the FPGA hardware resources...
fpga_context::SetUp
virtual void SetUp()
Definition:
tests/fpga_context.h:11
fpga_context
Definition:
tests/fpga_context.h:8
Generated by
1.8.5