Expression Templates Library (ETL)
Public Member Functions | Public Attributes | List of all members
etl::impl::cublas::cublas_handle Struct Reference

RTTI helper to manage CUBLAS handle. More...

#include <cublas.hpp>

Public Member Functions

 cublas_handle ()
 Construct the helper and create the handle directly.
 
 cublas_handle (cublasHandle_t handle)
 Construct the helper from the raw handle. More...
 
 cublas_handle (const cublas_handle &rhs)=delete
 
cublas_handleoperator= (const cublas_handle &rhs)=delete
 
 cublas_handle (cublas_handle &&rhs) noexcept=default
 
cublas_handleoperator= (cublas_handle &&rhs) noexcept=default
 
cublasHandle_t get ()
 Get the cublas handle. More...
 
 ~cublas_handle ()
 Destruct the helper and release the raw cublas handle.
 

Public Attributes

cublasHandle_t handle
 The raw cublas handle.
 

Detailed Description

RTTI helper to manage CUBLAS handle.

Constructor & Destructor Documentation

◆ cublas_handle()

etl::impl::cublas::cublas_handle::cublas_handle ( cublasHandle_t  handle)
inlineexplicit

Construct the helper from the raw handle.

Parameters
handleThe raw cublas handle

Member Function Documentation

◆ get()

cublasHandle_t etl::impl::cublas::cublas_handle::get ( )
inline

Get the cublas handle.

Returns
the raw cublas handle

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