Function nvcvConfigSetMaxArrayCount

Function Documentation

NVCVStatus nvcvConfigSetMaxArrayCount(int32_t maxCount)

Set a hard limit on the number of array handles that can be created.

The function will preallocate all resources necessary to satisfy creation of a limited number of array handles in the future.

Parameters:

maxCount[in] Maximum number of array handles that can be created. If negative, switches to dynamic allocation, no hard limit is defined.

  • There must be no array handles created and not destroyed.

Return values:
  • #VPI_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.

  • #VPI_SUCCESS – Operation executed successfully.