|
Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)
0.17
Performance library for Deep Learning
|
Intel(R) MKL-DNN exception class. More...
#include <mkldnn.hpp>


Public Member Functions | |
| error (mkldnn_status_t astatus, std::string amessage, mkldnn_primitive_t aerror_primitive=0) | |
| Constructs an error instance. More... | |
Static Public Member Functions | |
| static void | wrap_c_api (mkldnn_status_t status, const std::string &message, mkldnn_primitive_t *error_primitive=0) |
| A convenience function for wrapping calls to the C API. Checks the return status and throws an error in case of failure. More... | |
Public Attributes | |
| mkldnn_status_t | status |
| std::string | message |
| primitive | error_primitive |
Intel(R) MKL-DNN exception class.
This class captures the status returned by the failed C API function, error message, and, optionally, handle of the primitive that caused the error.
|
inline |
Constructs an error instance.
| astatus | The error status returned by the C API. |
| amessage | The error message. |
| aerror_primitive | (optional) A C handle of the primitive that caused the error. |
|
inlinestatic |
A convenience function for wrapping calls to the C API. Checks the return status and throws an error in case of failure.
| status | The error status returned by the C API. |
| message | The error message. |
| error_primitive | (optional) A C handle of the primitive that caused the error. |
| mkldnn_status_t mkldnn::error::status |
| std::string mkldnn::error::message |
| primitive mkldnn::error::error_primitive |
1.8.13