TensorRT 10.16.1
nvinfer2::safe::RuntimeErrorInformation Struct Reference

Holds information about runtime errors that occur during asynchronous kernel execution. More...

#include <NvInferSafeRecorder.h>

Public Attributes

uint64_t bitMask {0ULL}
 Bitmask of errors; see RuntimeErrorType for bit positions. More...
 

Detailed Description

Holds information about runtime errors that occur during asynchronous kernel execution.

Stores a bitmask where each bit represents a different type of runtime error.

  • Each bit corresponds to a value in RuntimeErrorType.
  • Set a bit: bitMask |= static_cast<uint64_t>(RuntimeErrorType::<ERROR_NAME>).
  • Check a bit: (bitMask & static_cast<uint64_t>(RuntimeErrorType::<ERROR_NAME>)) != 0ULL.
  • Clear a bit: bitMask &= ~static_cast<uint64_t>(RuntimeErrorType::<ERROR_NAME>).
  • Combine bits: use bitwise OR of multiple RuntimeErrorType values.

Member Data Documentation

◆ bitMask

uint64_t nvinfer2::safe::RuntimeErrorInformation::bitMask {0ULL}

Bitmask of errors; see RuntimeErrorType for bit positions.


The documentation for this struct was generated from the following file:

  Copyright © 2024 NVIDIA Corporation
  Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact