BeBOP: pOSKI
v1.0.0
parallel Optimized Sparse Kernel Interface library
|
Initialize and clean-up the pOSKI library. More...
#include <stdio.h>
#include <stdlib.h>
#include <oski/oski.h>
#include <poski/poski_version.h>
#include <poski/poski_system.h>
#include <poski/poski_print.h>
Functions | |
int | poski_Init (void) |
Initialize the pOSKI library. | |
int | poski_Close () |
Shut down the pOSKI library. |
Initialize and clean-up the pOSKI library.
This module implements the library initialization and clean-up.
The library checks for an environment variable, whose name is defined by the compile-time macros POSKI_LOG_FILE, and POSKI_MESSAGE_LEVEL, for reporting messages.
Also, refer poski_LogFileHandler.c poski_MessageHandler.c
int poski_Init | ( | void | ) |
Initialize the pOSKI library.
(1) set POSKI_LOG_FILE
(2) set POSKI_MESSAGE_LEVEL
(3) check system configuration
(4) initalize library
int poski_Close | ( | ) |
Shut down the pOSKI library.
(1) close library
(2) close POSKI_LOG_FILE