|
PULSAR
2.0.0
Parallel Ultra-Light Systolic Array Runtime
|
PRT exception handling. More...
#include "prt_assert.h"Go to the source code of this file.
Functions | |
| void | prt_assert_line_file (int cond, const char *msg, int line, char *file) |
| Checks an assertion and exits on error. Prints an error message. More... | |
| void | prt_error_line_file (const char *msg, int line, char *file) |
| Prints an error message and exits. More... | |
| void | prt_warning_line_file (const char *msg, int line, char *file) |
| Prints a warning and continues. More... | |
PRT exception handling.
PULSAR Runtime http://icl.utk.edu/pulsar/ Copyright (C) 2012-2015 University of Tennessee.
Definition in file prt_assert.c.
| void prt_assert_line_file | ( | int | cond, |
| const char * | msg, | ||
| int | line, | ||
| char * | file | ||
| ) |
Checks an assertion and exits on error. Prints an error message.
| cond | – The condition. |
| msg | – The error message. |
| line | – The line number. |
| file | – The name of the source file. |
Definition at line 23 of file prt_assert.c.
| void prt_error_line_file | ( | const char * | msg, |
| int | line, | ||
| char * | file | ||
| ) |
Prints an error message and exits.
| msg | – The error message. |
| line | – The line number. |
| file | – The name of the source file. |
Definition at line 37 of file prt_assert.c.
| void prt_warning_line_file | ( | const char * | msg, |
| int | line, | ||
| char * | file | ||
| ) |
Prints a warning and continues.
| msg | – The warning message. |
| line | – The line number. |
| file | – The name of the source file. |
Definition at line 52 of file prt_assert.c.