BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
Parse command-line options. More...
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include "abort_prog.h"
#include "parse_opts.h"
Functions | |
int | StringMatches (const char *source,...) |
size_t | ParseByteString (const char *s) |
oski_storage_t | ParseDenseMatLayout (const char *s) |
oski_matop_t | ParseMatTransOp (const char *s) |
void | PrintMatTransOp (FILE *fp, const char *matname, oski_matop_t op) |
void | PrintDebugMatTransOp (int level, const char *matname, oski_matop_t op) |
oski_ataop_t | ParseMatATAOp (const char *s) |
void | PrintMatATAOp (FILE *fp, const char *matname, oski_ataop_t op) |
void | PrintDebugMatATAOp (int level, const char *matname, oski_ataop_t op) |
Parse command-line options.
Type-dependent routines for command-line option parsing.
int StringMatches | ( | const char * | source, |
... | |||
) |
[in] | source | Source string (NULL-terminated). |
[in] | ... | List of strings to compare to. The end of the list is marked by a NULL. |
Referenced by keropts_Process().