Intel HEXL
Intel Homomorphic Encryption Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
intel::hexl::AllocatorInterface< AllocatorImpl > Struct Template Reference

Helper memory allocation struct which delegates implementation to AllocatorImpl. More...

#include <allocator.hpp>

Inheritance diagram for intel::hexl::AllocatorInterface< AllocatorImpl >:
Inheritance graph
[legend]
Collaboration diagram for intel::hexl::AllocatorInterface< AllocatorImpl >:
Collaboration graph
[legend]

Public Member Functions

void * allocate (size_t bytes_count) override
 Override interface and delegate implementation to AllocatorImpl. More...
 
void deallocate (void *p, size_t n) override
 Override interface and delegate implementation to AllocatorImpl. More...
 
- Public Member Functions inherited from intel::hexl::AllocatorBase
virtual ~AllocatorBase () noexcept
 

Detailed Description

template<class AllocatorImpl>
struct intel::hexl::AllocatorInterface< AllocatorImpl >

Helper memory allocation struct which delegates implementation to AllocatorImpl.

Member Function Documentation

◆ allocate()

template<class AllocatorImpl>
void* intel::hexl::AllocatorInterface< AllocatorImpl >::allocate ( size_t  bytes_count)
inlineoverridevirtual

Override interface and delegate implementation to AllocatorImpl.

Implements intel::hexl::AllocatorBase.

◆ deallocate()

template<class AllocatorImpl>
void intel::hexl::AllocatorInterface< AllocatorImpl >::deallocate ( void *  p,
size_t  n 
)
inlineoverridevirtual

Override interface and delegate implementation to AllocatorImpl.

Implements intel::hexl::AllocatorBase.


The documentation for this struct was generated from the following file: