CUDNN Frontend API
8.3.0
|
#include <cudnn_frontend_OperationGraph.h>
Public Member Functions | |
std::string | describe () const override |
Return a string describing the backend Descriptor. More... | |
OperationGraph_v8 (OperationGraph_v8 &&from)=default | |
OperationGraph_v8 & | operator= (OperationGraph_v8 &&from)=default |
~OperationGraph_v8 ()=default | |
auto | getEngineCount (void) const -> int64_t |
Query the total count of the engines for the Operation Set. More... | |
uint64_t | getOpCount () const |
std::string const & | getTag () const |
feature_vector_t | getFeatureVector () 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 | |
OperationGraph_v8 ()=default | |
OperationGraph_v8 (OperationGraph_v8 const &)=delete | |
OperationGraph_v8 & | operator= (OperationGraph_v8 const &)=delete |
Private Attributes | |
cudnnHandle_t | handle = nullptr |
std::array< ManagedOpaqueDescriptor, 10 > | ops {} |
int64_t | numOps = -1 |
std::string | opGraphTag = "" |
std::vector< feature_vector_t > | feature_vectors |
Friends | |
class | OperationGraphBuilder_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... | |
OperationGraph_v8 Class This class tells the properties of the Tensor_v8 on which the operation will be performed Properties:
Use OperationGraphBuilder_v8 to build this class. Describe returns a string describing the tensor class
Definition at line 52 of file cudnn_frontend_OperationGraph.h.
|
default |
|
default |
Referenced by describe().
|
privatedefault |
Referenced by describe(), and getFeatureVector().
|
privatedelete |
|
inlineoverridevirtual |
Return a string describing the backend Descriptor.
Implements cudnn_frontend::BackendDescriptor.
Definition at line 56 of file cudnn_frontend_OperationGraph.h.
References OperationGraph_v8(), operator=(), and ~OperationGraph_v8().
|
inline |
We do not support multiop opGraph at this point of time.
Definition at line 103 of file cudnn_frontend_OperationGraph.h.
References feature_vectors, numOps, OperationGraph_v8(), and operator=().
Referenced by cudnn_frontend::ExecutionPlanCache_v1::add_plan_to_cache(), cudnn_frontend::ExecutionPlanCache_v1::get_plan_from_cache(), and cudnn_frontend::ExecutionPlanCache_v2::is_fastest_plan_stable().
|
inline |
Definition at line 93 of file cudnn_frontend_OperationGraph.h.
References numOps.
|
inline |
Definition at line 98 of file cudnn_frontend_OperationGraph.h.
References opGraphTag.
Referenced by cudnn_frontend::ExecutionPlanCache_v1::add_plan_to_cache(), and cudnn_frontend::ExecutionPlanCache_v2::is_fastest_plan_stable().
|
default |
Referenced by cudnn_frontend::OperationGraphBuilder_v8::build(), describe(), and getFeatureVector().
|
privatedelete |
|
friend |
Definition at line 54 of file cudnn_frontend_OperationGraph.h.
Referenced by cudnn_frontend::OperationGraphBuilder_v8::build().
|
private |
Definition at line 122 of file cudnn_frontend_OperationGraph.h.
Referenced by getFeatureVector().
|
private |
Definition at line 118 of file cudnn_frontend_OperationGraph.h.
|
private |
Definition at line 120 of file cudnn_frontend_OperationGraph.h.
Referenced by getFeatureVector(), and getOpCount().
|
private |
Definition at line 121 of file cudnn_frontend_OperationGraph.h.
Referenced by getTag().
|
private |
Definition at line 119 of file cudnn_frontend_OperationGraph.h.