Selects Algorithms with minimum workspace requirements. More...
Public Member Functions | |
int32_t | selectAlgorithms (const nvinfer1::IAlgorithmContext &algoContext, const nvinfer1::IAlgorithm *const *algoChoices, int32_t nbChoices, int32_t *selection) override |
Return value in [0, nbChoices] for a valid algorithm. More... | |
void | reportAlgorithms (const nvinfer1::IAlgorithmContext *const *algoContexts, const nvinfer1::IAlgorithm *const *algoChoices, int32_t nbAlgorithms) override |
Called by TensorRT to report choices it made. More... | |
Selects Algorithms with minimum workspace requirements.
|
inlineoverridevirtual |
Return value in [0, nbChoices] for a valid algorithm.
Use the map created from cache to select algorithms.
Implements nvinfer1::IAlgorithmSelector.
|
inlineoverridevirtual |
Called by TensorRT to report choices it made.
Implements nvinfer1::IAlgorithmSelector.