CUDNN Frontend API
8.3.0
|
#include <cudnn_frontend_EngineConfig.h>
Public Member Functions | |
std::string | describe () const override |
Return a string describing the backend Descriptor. More... | |
EngineConfig_v8 & | operator= (EngineConfig_v8 &&from)=default |
EngineConfig_v8 (EngineConfig_v8 &&from)=default | |
~EngineConfig_v8 ()=default | |
std::string const & | getTag () const |
![]() | |
cudnnBackendDescriptor_t | get_raw_desc () const |
cudnnStatus_t | get_status () const |
Current status of the descriptor. More... | |
void | set_status (cudnnStatus_t const status_) const |
Set status of the descriptor. More... | |
void | set_error (const char *message) const |
Set Diagonistic error message. More... | |
const char * | get_error () const |
Diagonistic error message if any. More... | |
ManagedOpaqueDescriptor | get_desc () const |
Returns a copy of underlying managed descriptor. More... | |
cudnnStatus_t | initialize_managed_backend_pointer (cudnnBackendDescriptorType_t type) |
Initializes the underlying managed descriptor. More... | |
Private Member Functions | |
EngineConfig_v8 () | |
EngineConfig_v8 (EngineConfig_v8 const &)=delete | |
EngineConfig_v8 & | operator= (EngineConfig_v8 const &)=delete |
Private Attributes | |
ManagedOpaqueDescriptor | engine = nullptr |
int64_t | numKnobs = 0 |
std::string | opGraphTag |
bool | set_knobs_attr = false |
std::array< ManagedOpaqueDescriptor, CUDNN_KNOB_TYPE_COUNTS > | bChoices = {} |
Opaque pointer to the backend knobs. More... | |
Friends | |
class | EngineConfigBuilder_v8 |
Additional Inherited Members | |
![]() | |
BackendDescriptor (ManagedOpaqueDescriptor pointer_, cudnnStatus_t status_, std::string err_msg_) | |
BackendDescriptor ()=default | |
![]() | |
ManagedOpaqueDescriptor | pointer |
cudnnStatus_t | status = CUDNN_STATUS_SUCCESS |
Shared pointer of the OpaqueBackendPointer. More... | |
std::string | err_msg |
Error message if any being set. More... | |
EngineConfig_v8 Class This class tells the Configuration of the Engine_v8 in terms of the knob choices Properties:
Use EngineConfigBuilder_v8 to build this class. Describe returns a string describing the tensor class
Definition at line 51 of file cudnn_frontend_EngineConfig.h.
|
default |
|
default |
Referenced by describe().
|
inlineprivate |
Definition at line 76 of file cudnn_frontend_EngineConfig.h.
References bChoices, cudnn_frontend::make_shared_backend_pointer(), operator=(), cudnn_frontend::set_error_and_throw_exception(), and cudnn_frontend::BackendDescriptor::status.
Referenced by describe().
|
privatedelete |
|
inlineoverridevirtual |
Return a string describing the backend Descriptor.
Implements cudnn_frontend::BackendDescriptor.
Definition at line 56 of file cudnn_frontend_EngineConfig.h.
References EngineConfig_v8(), numKnobs, operator=(), and ~EngineConfig_v8().
|
inline |
Definition at line 71 of file cudnn_frontend_EngineConfig.h.
References opGraphTag.
|
default |
Referenced by cudnn_frontend::EngineConfigBuilder_v8::build(), describe(), and EngineConfig_v8().
|
privatedelete |
|
friend |
Definition at line 53 of file cudnn_frontend_EngineConfig.h.
Referenced by cudnn_frontend::EngineConfigBuilder_v8::build().
|
private |
Opaque pointer to the backend knobs.
Definition at line 98 of file cudnn_frontend_EngineConfig.h.
Referenced by EngineConfig_v8().
|
private |
Definition at line 94 of file cudnn_frontend_EngineConfig.h.
|
private |
Definition at line 95 of file cudnn_frontend_EngineConfig.h.
Referenced by describe().
|
private |
Definition at line 96 of file cudnn_frontend_EngineConfig.h.
Referenced by getTag().
|
private |
Definition at line 97 of file cudnn_frontend_EngineConfig.h.