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

RTTI helper to manage CUDNN handle. More...

#include <cudnn.hpp>

Public Member Functions

 cudnn_handle ()
 Construct the helper and create the handle directly.
 
 cudnn_handle (cudnnHandle_t handle)
 Construct the helper from the raw handle. More...
 
 cudnn_handle (const cudnn_handle &rhs)=delete
 
cudnn_handleoperator= (const cudnn_handle &rhs)=delete
 
 cudnn_handle (cudnn_handle &&rhs) noexcept=default
 
cudnn_handleoperator= (cudnn_handle &&rhs) noexcept=default
 
cudnnHandle_t get ()
 Get the cudnn handle. More...
 
 ~cudnn_handle ()
 Destruct the helper and release the raw cudnn handle.
 

Public Attributes

cudnnHandle_t handle
 The raw cudnn handle.
 

Detailed Description

RTTI helper to manage CUDNN handle.

Constructor & Destructor Documentation

◆ cudnn_handle()

etl::impl::cudnn::cudnn_handle::cudnn_handle ( cudnnHandle_t  handle)
inlineexplicit

Construct the helper from the raw handle.

Parameters
handleThe raw cudnn handle

Member Function Documentation

◆ get()

cudnnHandle_t etl::impl::cudnn::cudnn_handle::get ( )
inline

Get the cudnn handle.

Returns
the raw cudnn handle

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