Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions | Variables
HostScaling.cpp File Reference
#include <string>
#include <iostream>
#include <cstdlib>
#include "Kokkos_Core.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_StandardCatchMacros.hpp"
#include "TestStochastic.hpp"
#include "Stokhos_Threads_CrsProductTensor.hpp"
Include dependency graph for HostScaling.cpp:

Go to the source code of this file.

Enumerations

enum  SG_Alg { ORIG_MAT_FREE, PROD_CRS }
 

Functions

std::vector< doublerun_test (const size_t num_cpu, const size_t num_core_per_cpu, const size_t num_threads_per_core, const size_t p, const size_t d, const size_t nGrid, const size_t nIter, const bool symmetric, SG_Alg sg_alg, const std::vector< double > &perf1=std::vector< double >())
 
int main (int argc, char *argv[])
 

Variables

const int num_sg_alg = 2
 
const SG_Alg sg_alg_values [] = { ORIG_MAT_FREE, PROD_CRS }
 
const char * sg_alg_names [] = { "Original Matrix-Free", "Product CRS" }
 

Enumeration Type Documentation

enum SG_Alg
Enumerator
ORIG_MAT_FREE 
PROD_CRS 

Definition at line 56 of file HostScaling.cpp.

Function Documentation

std::vector<double> run_test ( const size_t  num_cpu,
const size_t  num_core_per_cpu,
const size_t  num_threads_per_core,
const size_t  p,
const size_t  d,
const size_t  nGrid,
const size_t  nIter,
const bool  symmetric,
SG_Alg  sg_alg,
const std::vector< double > &  perf1 = std::vector<double>() 
)

Definition at line 62 of file HostScaling.cpp.

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

Definition at line 109 of file HostScaling.cpp.

Variable Documentation

const int num_sg_alg = 2

Definition at line 57 of file HostScaling.cpp.

const SG_Alg sg_alg_values[] = { ORIG_MAT_FREE, PROD_CRS }

Definition at line 58 of file HostScaling.cpp.

const char* sg_alg_names[] = { "Original Matrix-Free", "Product CRS" }

Definition at line 59 of file HostScaling.cpp.