Function nvcvArrayGetAllocator
Defined in File Array.h
Function Documentation
-
NVCVStatus nvcvArrayGetAllocator(NVCVArrayHandle handle, NVCVAllocatorHandle *alloc)
Get the allocator associated with the array.
This function creates a new reference to the allocator handle. The caller is responsible for freeing it by calling nvcvAllocatorDecRef.
- Parameters:
handle – [in] Array to be queried.
Must not be NULL.
alloc – [out] Where the allocator handle will be written to.
Must not be NULL.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.
NVCV_SUCCESS – Operation executed successfully.