mgcpp
A C++ Math Library Based on CUDA
Public Member Functions | List of all members
mgcpp::thread_guard Class Reference

#include <thread_guard.hpp>

Public Member Functions

 thread_guard (std::initializer_list< size_t > device, bool cublas)
 
 thread_guard (size_t device, bool cublas)
 
 ~thread_guard ()
 

Constructor & Destructor Documentation

◆ thread_guard() [1/2]

mgcpp::thread_guard::thread_guard ( std::initializer_list< size_t >  device,
bool  cublas 
)
inlineexplicit

◆ thread_guard() [2/2]

mgcpp::thread_guard::thread_guard ( size_t  device,
bool  cublas 
)
inlineexplicit

◆ ~thread_guard()

mgcpp::thread_guard::~thread_guard ( )
inline

The documentation for this class was generated from the following files: