TensorRT 8.6.1
nvinfer1::IAlgorithmVariant Class Reference

provides a unique 128-bit identifier, which along with the input and output information denotes the variation of algorithm and can be used to select or reproduce an algorithm, using IAlgorithmSelector::selectAlgorithms() More...

#include <NvInfer.h>

Inheritance diagram for nvinfer1::IAlgorithmVariant:
nvinfer1::INoCopy

Public Member Functions

int64_t getImplementation () const noexcept
 Return implementation of the algorithm. More...
 
int64_t getTactic () const noexcept
 Return tactic of the algorithm. More...
 

Protected Member Functions

virtual ~IAlgorithmVariant () noexcept=default
 
- Protected Member Functions inherited from nvinfer1::INoCopy
 INoCopy ()=default
 
virtual ~INoCopy ()=default
 
 INoCopy (INoCopy const &other)=delete
 
INoCopyoperator= (INoCopy const &other)=delete
 
 INoCopy (INoCopy &&other)=delete
 
INoCopyoperator= (INoCopy &&other)=delete
 

Protected Attributes

apiv::VAlgorithmVariant * mImpl
 

Detailed Description

provides a unique 128-bit identifier, which along with the input and output information denotes the variation of algorithm and can be used to select or reproduce an algorithm, using IAlgorithmSelector::selectAlgorithms()

See also
IAlgorithmIOInfo, IAlgorithm, IAlgorithmSelector::selectAlgorithms()
Note
A single implementation can have multiple tactics.
Warning
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.

Constructor & Destructor Documentation

◆ ~IAlgorithmVariant()

virtual nvinfer1::IAlgorithmVariant::~IAlgorithmVariant ( )
protectedvirtualdefaultnoexcept

Member Function Documentation

◆ getImplementation()

int64_t nvinfer1::IAlgorithmVariant::getImplementation ( ) const
inlinenoexcept

Return implementation of the algorithm.

◆ getTactic()

int64_t nvinfer1::IAlgorithmVariant::getTactic ( ) const
inlinenoexcept

Return tactic of the algorithm.

Member Data Documentation

◆ mImpl

apiv::VAlgorithmVariant* nvinfer1::IAlgorithmVariant::mImpl
protected

The documentation for this class was generated from the following file: