|
PULSAR
0.1
Parallel Unified Linear Algebra with Systolic Arrays
|
PRT exception handling. More...
#include "prt_assert.h"
Go to the source code of this file.
Functions | |
| void | prt_assert_line_file (int cond, char *msg, int line, char *file) |
| Check an assertion and exit on error. Print an error message. More... | |
| void | prt_error_line_file (char *msg, int line, char *file) |
| Print an error message and exit. More... | |
| void | prt_warning_line_file (char *msg, int line, char *file) |
| Print a warning and continue. More... | |
PRT exception handling.
PULSAR Runtime /pulsar/ Copyright (C) 2012-2013 University of Tennessee.
Definition in file prt_assert.c.
| void prt_assert_line_file | ( | int | cond, |
| char * | msg, | ||
| int | line, | ||
| char * | file | ||
| ) |
Check an assertion and exit on error. Print an error message.
| cond | condition |
| msg | error message |
| line | line number |
| file | source file name |
Definition at line 23 of file prt_assert.c.
References prt_error_line_file().

| void prt_error_line_file | ( | char * | msg, |
| int | line, | ||
| char * | file | ||
| ) |
Print an error message and exit.
| msg | error message |
| line | line number |
| file | source file name |
Definition at line 37 of file prt_assert.c.

| void prt_warning_line_file | ( | char * | msg, |
| int | line, | ||
| char * | file | ||
| ) |
Print a warning and continue.
| msg | warning message |
| line | line number |
| file | source file name |
Definition at line 52 of file prt_assert.c.