NVIDIA Morpheus (24.06)
(Latest Version)

Define MORPHEUS_FAIL

MORPHEUS_FAIL(reason)

Indicates that an erroneous code path has been taken.

In host code, throws a morpheus::LogicError.

Example usage:

Copy
Copied!
            

MORPHEUS_FAIL("Non-arithmetic operation is not supported");

Parameters
  • reason[in] String literal description of the reason

Previous Define MORPHEUS_EXPECTS
Next Define MORPHEUS_STRINGIFY
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.