CUDNN Frontend API
8.3.0
|
#include <cudnn_frontend_Heuristics.h>
Public Member Functions | |
std::string | describe () const override |
Return a string describing the backend Descriptor. More... | |
EngineHeuristics_v8 (EngineHeuristics_v8 &&from)=default | |
EngineHeuristics_v8 & | operator= (EngineHeuristics_v8 &&from)=default |
~EngineHeuristics_v8 ()=default | |
auto | getEngineConfig (int64_t count=1) -> std::vector< ManagedOpaqueDescriptor > & |
Query the total count of the engines for the Operation Set. More... | |
auto | getEngineConfigCount (void) const -> int64_t |
Query the total count of the engine config for the Operation Set. More... | |
![]() | |
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 | |
EngineHeuristics_v8 ()=default | |
EngineHeuristics_v8 (EngineHeuristics_v8 const &)=delete | |
EngineHeuristics_v8 & | operator= (EngineHeuristics_v8 const &)=delete |
Private Attributes | |
cudnnBackendHeurMode_t | mode = CUDNN_HEUR_MODE_INSTANT |
ManagedOpaqueDescriptor | opGraph = nullptr |
std::vector< ManagedOpaqueDescriptor > | m_heuristic_results |
std::string | opGraphTag |
storage of heuristic results More... | |
Friends | |
class | EngineHeuristicsBuilder_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... | |
Engine Heuristic Class This class helps determine the engine from the operation graph based on the heuristics Properties:
Use EngineHeuristicsBuilder_v8 to build this class. Describe returns a string describing the EngineHeuristics_v8 class
Definition at line 47 of file cudnn_frontend_Heuristics.h.
|
default |
|
default |
Referenced by describe().
|
privatedefault |
Referenced by describe(), and getEngineConfigCount().
|
privatedelete |
|
inlineoverridevirtual |
Return a string describing the backend Descriptor.
Implements cudnn_frontend::BackendDescriptor.
Definition at line 51 of file cudnn_frontend_Heuristics.h.
References EngineHeuristics_v8(), operator=(), and ~EngineHeuristics_v8().
|
default |
Referenced by cudnn_frontend::EngineHeuristicsBuilder_v8::build(), describe(), and getEngineConfigCount().
|
privatedelete |
|
friend |
Definition at line 49 of file cudnn_frontend_Heuristics.h.
Referenced by cudnn_frontend::EngineHeuristicsBuilder_v8::build(), and cudnn_frontend::get_heuristics_list().
|
private |
Definition at line 130 of file cudnn_frontend_Heuristics.h.
Referenced by getEngineConfig().
|
private |
Definition at line 128 of file cudnn_frontend_Heuristics.h.
Referenced by cudnn_frontend::get_heuristics_list().
|
private |
Definition at line 129 of file cudnn_frontend_Heuristics.h.
|
private |
storage of heuristic results
Definition at line 131 of file cudnn_frontend_Heuristics.h.