Function nvcv::cfg::SetMaxAllocatorCount

Function Documentation

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

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

Parameters:

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

Throws:

An – exception is thrown if the nvcvConfigSetMaxAllocatorCount function fails.