JayBeams  0.1
Another project to have fun coding.
Public Member Functions | Public Attributes | List of all members
jb::opencl::microbenchmark_config Class Reference

The configuration shared by all OpenCL microbenchmarks. More...

#include <microbenchmark_config.hpp>

Inheritance diagram for jb::opencl::microbenchmark_config:
jb::config_object

Public Member Functions

 microbenchmark_config ()
 
 config_object_constructors (microbenchmark_config)
 
- Public Member Functions inherited from jb::config_object
 config_object ()
 Default constructor. More...
 
 config_object (config_object const &rhs)
 Copy constructor. More...
 
 config_object (config_object &&rhs)
 Move constructor. More...
 
virtual ~config_object ()
 Destructor. More...
 
config_objectoperator= (config_object rhs)
 Copy & swap assignment. More...
 
void swap (config_object &rhs)
 Derived classes should implement member by member swap. More...
 
void load_overrides (int &argc, char *argv[], std::string const &filename, char const *environment_variable_name)
 Read the configuration file and load the overrides defined therein. More...
 
void load_overrides (int &argc, char *argv[], std::string const &filename)
 Read the configuration file and load the overrides defined therein. More...
 
void load_overrides (int &argc, char *argv[], std::istream &is)
 Read the configuration file and load the overrides defined therein. More...
 
void process_cmdline (int &argc, char *argv[])
 Process the command line. More...
 
virtual void validate () const
 Validate the settings. More...
 
std::ostream & to_stream (std::ostream &os) const
 Print out the settings. More...
 

Public Attributes

jb::config_attribute< microbenchmark_config, jb::testing::microbenchmark_configmicrobenchmark
 
jb::config_attribute< microbenchmark_config, jb::log::configlog
 
jb::config_attribute< microbenchmark_config, jb::opencl::configopencl
 

Additional Inherited Members

- Static Protected Member Functions inherited from jb::config_object
static attribute_descriptor desc (std::string const &name)
 Convenience function to create attribute descriptors with less typing. More...
 
static attribute_descriptor desc (std::string const &name, std::string const &class_name)
 Convenience function to create attribute descriptors with less typing. More...
 

Detailed Description

The configuration shared by all OpenCL microbenchmarks.

Definition at line 13 of file microbenchmark_config.hpp.

Constructor & Destructor Documentation

◆ microbenchmark_config()

jb::opencl::microbenchmark_config::microbenchmark_config ( )

Definition at line 3 of file microbenchmark_config.cpp.

Referenced by main().

Member Function Documentation

◆ config_object_constructors()

jb::opencl::microbenchmark_config::config_object_constructors ( microbenchmark_config  )

Member Data Documentation

◆ log

jb::config_attribute<microbenchmark_config, jb::log::config> jb::opencl::microbenchmark_config::log

Definition at line 21 of file microbenchmark_config.hpp.

◆ microbenchmark

jb::config_attribute< microbenchmark_config, jb::testing::microbenchmark_config> jb::opencl::microbenchmark_config::microbenchmark

Definition at line 20 of file microbenchmark_config.hpp.

◆ opencl

jb::config_attribute<microbenchmark_config, jb::opencl::config> jb::opencl::microbenchmark_config::opencl

Definition at line 22 of file microbenchmark_config.hpp.


The documentation for this class was generated from the following files: