CUDNN Frontend API
8.2.0
|
#include <cudnn_frontend_ReductionDesc.h>
Public Member Functions | |
std::string | describe () const override |
Return a string describing the backend Descriptor. More... | |
ReductionDesc_v8 (ReductionDesc_v8 &&from) | |
~ReductionDesc_v8 ()=default | |
![]() | |
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 | |
ReductionDesc_v8 ()=default | |
ReductionDesc_v8 (ReductionDesc_v8 const &)=delete | |
ReductionDesc_v8 & | operator= (ReductionDesc_v8 const &)=delete |
Private Attributes | |
cudnnDataType_t | math_precision = CUDNN_DATA_FLOAT |
cudnnReduceTensorOp_t | reduction_op = CUDNN_REDUCE_TENSOR_ADD |
Friends | |
class | ReductionDescBuilder_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... | |
ReductionDesc Descriptor Class This class tells the properties of the Reduction operation Properties:
Use ReductionDesc_v8 to build this class. Describe returns a string describing the Reduction operation
Definition at line 48 of file cudnn_frontend_ReductionDesc.h.
|
inline |
Definition at line 59 of file cudnn_frontend_ReductionDesc.h.
References operator=(), ReductionDesc_v8(), and ~ReductionDesc_v8().
|
default |
Referenced by ReductionDesc_v8().
|
privatedefault |
Referenced by ReductionDesc_v8().
|
privatedelete |
|
inlineoverridevirtual |
Return a string describing the backend Descriptor.
Implements cudnn_frontend::BackendDescriptor.
Definition at line 52 of file cudnn_frontend_ReductionDesc.h.
References math_precision, and reduction_op.
|
privatedelete |
Referenced by cudnn_frontend::ReductionDescBuilder_v8::build(), and ReductionDesc_v8().
|
friend |
Definition at line 50 of file cudnn_frontend_ReductionDesc.h.
Referenced by cudnn_frontend::ReductionDescBuilder_v8::build().
|
private |
Definition at line 72 of file cudnn_frontend_ReductionDesc.h.
Referenced by describe().
|
private |
Definition at line 73 of file cudnn_frontend_ReductionDesc.h.
Referenced by describe().