dpuGetExceptionMode() - 1.2 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2020-07-21
Version
1.2 English

Synopsis

int dpuGetExceptionMode()

Arguments

None.

Description

Get the exception handling mode for runtime N2Cube.

Returns

Current exception handing mode for N2Cube APIs.

Available values include:

  • N2CUBE_EXCEPTION_MODE_PRINT_AND_EXIT
  • N2CUBE_EXCEPTION_MODE_RET_ERR_CODE

Include File

n2cube.h

Availability

Vitis AI v1.0