Function nvcvTensorBatchSetUserPointer

Function Documentation

NVCVStatus nvcvTensorBatchSetUserPointer(NVCVTensorBatchHandle handle, void *userPtr)

Associates a user pointer to the Tensor batch handle.

This pointer can be used to associate any kind of data with the Tensor batch object.

Parameters:
  • handle[in] Tensor batch to be associated with the user pointer.

  • userPtr[in] User pointer.

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

  • NVCV_SUCCESS – Operation executed successfully.