Function nvcvTensorSetUserPointer
Defined in File Tensor.h
Function Documentation
-
NVCVStatus nvcvTensorSetUserPointer(NVCVTensorHandle handle, void *userPtr)
Associates a user pointer to the tensor handle.
This pointer can be used to associate any kind of data with the tensor object.
- Parameters:
handle – [in] Tensor 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.