Functions

spart_1d.cpp File Reference

#include <iostream>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include "util/tools.hpp"
#include "util/timestamp.hpp"
#include "util/prefix_sum_tools.hpp"
#include "oned/parse.hpp"

Functions

int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Synopsis: spart_1d <algo_name> [input_array_file][-] <proc_count> algo_name: Code name of the algorithm input_array_file format: Begins with a line with number of tasks and the rest contains 1 task load per line. '-' means read from standard input Notes: Edit this code to replace data type

Parameters:
argc 
argv 
Returns:
Cut indexes in one index per line format. Processor p gets all tasks from cutIndex[p-1](excluded) to cutIndex[p](included). total_load[p] = weight(cutIndex[p]) - weight(cutIndex[p-1])
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines