Function nvcvMemRequirementsCalcTotalSizeBytes

Function Documentation

NVCVStatus nvcvMemRequirementsCalcTotalSizeBytes(const NVCVMemRequirements *memReq, int64_t *sizeBytes)

Calculate the total size in bytes of the given memory requirement.

Parameters:
  • memReq[in] Memory requirement to be queried.

    • Must not be NULL

  • size_t[out] Calculated size in bytes.

    • Must not be NULL

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

  • NVCV_SUCCESS – Operation completed successfully.