Function nvcvAllocatorRefCount

Function Documentation

NVCVStatus nvcvAllocatorRefCount(NVCVAllocatorHandle handle, int *newRefCount)

Returns the current reference count of an allocator

Parameters:
  • handle[in] The handle whose reference count is to be obtained.

  • newRefCount[out] The reference count.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – The handle is invalid

  • NVCV_SUCCESS – Operation executed successfully.