HEaaN
Crypto Lab's great homomorphic encryption library
Classes | Namespaces | Typedefs | Enumerations | Functions
Device.hpp File Reference
#include <initializer_list>
#include <string>
#include <vector>
#include "HEaaN/Exception.hpp"
#include "HEaaN/HEaaNExport.hpp"
#include "HEaaN/Integers.hpp"
#include "HEaaN/device/CudaTools.hpp"
#include <set>
#include <tuple>
Include dependency graph for Device.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HEaaN::Device
 
class  HEaaN::ScopedCudaDeviceSelector
 

Namespaces

 HEaaN
 

Typedefs

using HEaaN::DeviceSet = std::set< Device >
 
using HEaaN::CudaDeviceIds = std::set< int >
 

Enumerations

enum  HEaaN::DeviceType { HEaaN::DeviceType::CPU, HEaaN::DeviceType::GPU, HEaaN::DeviceType::UNDEFINED, HEaaN::DeviceType::CPU_PINNED }
 

Functions

constexpr HEAAN_API Device HEaaN::getDefaultDevice ()
 
HEAAN_API Device HEaaN::getCurrentCudaDevice ()
 
HEAAN_API void HEaaN::setCurrentCudaDevice (int device_id)