#include <mpi.h>
#include <string>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <vector>
#include <omp.h>
#include <sstream>
#include <binUtils.h>
#include <ompUtils.h>
#include <parUtils.h>
Go to the source code of this file.
|
void | printResults (int num_threads, MPI_Comm comm) |
|
void | getStats (double val, double *meanV, double *minV, double *maxV, MPI_Comm comm) |
|
DistribType | getDistType (char *code) |
|
long | getNumElements (char *code) |
|
template<class T > |
bool | verify (std::vector< T > &in_, std::vector< T > &out_, MPI_Comm comm) |
|
template<class T > |
double | time_sort (size_t N, MPI_Comm comm, DistribType dist_type) |
|
int | main (int argc, char **argv) |
|
int | zipf (double alpha, int n, unsigned int *seedp) |
|
◆ FALSE
◆ SORT_FUNCTION
◆ TRUE
◆ DistribType
Enumerator |
---|
UNIF_DISTRIB | |
GAUSS_DISTRIB | |
Definition at line 38 of file main.cpp.
◆ getDistType()
◆ getNumElements()
long getNumElements |
( |
char * |
code | ) |
|
◆ getStats()
void getStats |
( |
double |
val, |
|
|
double * |
meanV, |
|
|
double * |
minV, |
|
|
double * |
maxV, |
|
|
MPI_Comm |
comm |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ printResults()
void printResults |
( |
int |
num_threads, |
|
|
MPI_Comm |
comm |
|
) |
| |
◆ time_sort()
template<class T >
double time_sort |
( |
size_t |
N, |
|
|
MPI_Comm |
comm, |
|
|
DistribType |
dist_type |
|
) |
| |
◆ verify()
template<class T >
bool verify |
( |
std::vector< T > & |
in_, |
|
|
std::vector< T > & |
out_, |
|
|
MPI_Comm |
comm |
|
) |
| |
◆ zipf()
int zipf |
( |
double |
alpha, |
|
|
int |
n, |
|
|
unsigned int * |
seedp |
|
) |
| |