cudnn_frontend::OpaqueBackendPointer
cudnn_backend_base.h
cudnnBackendDescriptor_t cudnnBackendDescriptor_t cudnn_frontend::OpaqueBackendPointer::m_desc m_desc = nullptr

Raw void pointer.

get_backend_descriptor
cudnnStatus_t cudnnStatus_t cudnn_frontend::OpaqueBackendPointer::status status = CUDNN_STATUS_SUCCESS

status of creation of the Descriptor

get_status
cudnn_frontend::BackendDescriptor::get_status
cudnn_frontend::BackendDescriptor::set_status
cudnn_frontend::OpaqueBackendPointer::OpaqueBackendPointer
(const OpaqueBackendPointer &)=delete
OpaqueBackendPointer
const OpaqueBackendPointer &

Delete the copy constructor to prevent bad copies.

OpaqueBackendPointer & OpaqueBackendPointer& cudnn_frontend::OpaqueBackendPointer::operator= (const OpaqueBackendPointer &)=delete operator= const OpaqueBackendPointer &
cudnn_frontend::OpaqueBackendPointer::OpaqueBackendPointer
(OpaqueBackendPointer &&)=default
OpaqueBackendPointer
OpaqueBackendPointer &&
cudnn_frontend::OpaqueBackendPointer::OpaqueBackendPointer
(cudnnBackendDescriptorType_t type)
OpaqueBackendPointer
cudnnBackendDescriptorType_t type

OpaqueBackendPointer constructor. Calls the cudnnBackendCreateDescriptor. Allocates memory according to the type.

cudnn_frontend::OpaqueBackendPointer::~OpaqueBackendPointer
()
~OpaqueBackendPointer

OpaqueBackendPointer destructor. Calls the cudnnBackendDestroyDescriptor. Frees memory allocated in the constructor.

cudnnBackendDescriptor_t const & cudnnBackendDescriptor_t const& cudnn_frontend::OpaqueBackendPointer::get_backend_descriptor () const get_backend_descriptor

Accessor. Returns the const reference to raw underlying descriptor. Treat it like the data() function of a smart pointer. Can be freed behind the back.

m_desc
cudnnStatus_t cudnnStatus_t cudnn_frontend::OpaqueBackendPointer::get_status () const get_status

Accessor. Queries the status of the descriptor after calling the cudnnCreate.

status
bool bool cudnn_frontend::OpaqueBackendPointer::is_good () const is_good

Accessor. Queries the status of the descriptor returns true if all good.

OpaqueBackendPointer class Holds the raws pointer to backend_descriptor Usage is to wrap this into a smart pointer as it helps to create and destroy the backencpointer

cudnn_frontend::OpaqueBackendPointer
-m_desc
-status
cudnnBackendDescriptor_t
cudnnStatus_t
- cudnn_frontend::OpaqueBackendPointer
  get_backend_descriptor
- cudnn_frontend::OpaqueBackendPointer
  get_status
- cudnn_frontend::OpaqueBackendPointer
  is_good
- cudnn_frontend::OpaqueBackendPointer
  m_desc
- cudnn_frontend::OpaqueBackendPointer
  OpaqueBackendPointer
- cudnn_frontend::OpaqueBackendPointer
  OpaqueBackendPointer
- cudnn_frontend::OpaqueBackendPointer
  OpaqueBackendPointer
- cudnn_frontend::OpaqueBackendPointer
  operator=
- cudnn_frontend::OpaqueBackendPointer
  status
- cudnn_frontend::OpaqueBackendPointer
  ~OpaqueBackendPointer