Function nvcvSetThreadStatus

Function Documentation

void nvcvSetThreadStatus(NVCVStatus status, const char *fmt, ...)

Sets the internal status in current thread.

This is used by nvcv extensions and/or language bindings to seamlessly integrate their status handling with the C API.

Parameters:
  • status[in] The status code to be set

  • fmt, ...[in] The status message associated with the status code. Pass NULL if no customized error message is needed. It accepts a printf-like format.