Common command line processing for benchmarks -*- C++ -*-. More...
#include "Galois/Runtime/Support.h"
#include <sstream>
#include <unistd.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
std::vector< const char * > | parse_command_line (int argc, const char **argv, const char *proghelp) |
Pulls out common options (-t threads, -noverify, -help) and returns the rest. | |
Variables | |
static bool | skipVerify = false |
static long | numThreads = 1 |
Common command line processing for benchmarks -*- C++ -*-.
Galois, a framework to exploit amorphous data-parallelism in irregular programs.
Copyright (C) 2011, The University of Texas at Austin. All rights reserved. UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, NON-INFRINGEMENT AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall University be liable for incidental, special, indirect, direct or consequential damages or loss of profits, interruption of business, or related expenses which may arise from use of Software or Documentation, including but not limited to those resulting from defects in Software and/or Documentation, or loss or inaccuracy of data of any kind.
std::vector<const char*> parse_command_line | ( | int | argc, | |
const char ** | argv, | |||
const char * | proghelp | |||
) |
Pulls out common options (-t threads, -noverify, -help) and returns the rest.
Sets numThreads and skipVerify variables.
long numThreads = 1 [static] |
bool skipVerify = false [static] |