Function nvcvArrayConstruct

Function Documentation

NVCVStatus nvcvArrayConstruct(const NVCVArrayRequirements *reqs, NVCVAllocatorHandle alloc, NVCVArrayHandle *handle)

Constructs an array instance with given requirements.

Parameters:
  • reqs[in] Array requirements. Must have been filled by one of the nvcvArrayCalcRequirements functions.

    • Must not be NULL

  • alloc[in] Allocator to be used to allocate needed memory buffers.

  • handle[out] Where the array instance handle will be written to.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.

  • NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the array instance.

  • NVCV_SUCCESS – Operation executed successfully.