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

#include <thread_context.hpp>

Public Member Functions

 thread_context ()=default
 
 thread_context (thread_context const &other)=delete
 
thread_contextoperator= (thread_context const &other)=delete
 
 thread_context (thread_context &&other) noexcept
 
thread_contextoperator= (thread_context &&other) noexcept
 
cublasHandle_t get_cublas_context (size_t device_id)
 

Constructor & Destructor Documentation

◆ thread_context() [1/3]

mgcpp::thread_context::thread_context ( )
default

◆ thread_context() [2/3]

mgcpp::thread_context::thread_context ( thread_context const &  other)
delete

◆ thread_context() [3/3]

mgcpp::thread_context::thread_context ( thread_context &&  other)
noexcept

Member Function Documentation

◆ get_cublas_context()

cublasHandle_t mgcpp::thread_context::get_cublas_context ( size_t  device_id)

◆ operator=() [1/2]

thread_context& mgcpp::thread_context::operator= ( thread_context const &  other)
delete

◆ operator=() [2/2]

thread_context& mgcpp::thread_context::operator= ( thread_context &&  other)
noexcept

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