Function nvcv::cfg::SetMaxTensorCount

Function Documentation

inline void nvcv::cfg::SetMaxTensorCount(int32_t maxCount)

Sets the maximum number of tensor handles that can be created.

Parameters:

maxCount – The maximum number of tensor handles. If negative, dynamic allocation is used and no hard limit is defined.

Throws:

An – exception is thrown if the nvcvConfigSetMaxTensorCount function fails.