Function nvcvAllocatorIncRef

Function Documentation

NVCVStatus nvcvAllocatorIncRef(NVCVAllocatorHandle handle, int *newRefCount)

Increments the reference count of an allocator.

Parameters:
  • handle[in] Allocator to be retained.

  • newRefCount[out] The incremented reference count. Can be NULL, if the caller isn’t interested in the new reference count.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – The handle is invalid

  • NVCV_SUCCESS – Operation executed successfully.