GPUOcelot
Classes | Public Member Functions | Static Public Member Functions | Public Attributes

api::OcelotConfiguration Class Reference

configuration object structure for GPU Ocelot More...

#include <OcelotConfiguration.h>

Collaboration diagram for api::OcelotConfiguration:
Collaboration graph
[legend]

List of all members.

Classes

class  Checkpoint
class  CudaRuntimeImplementation
class  Executive
class  Optimizations
class  TraceGeneration
 Configuration for trace generation facilities. More...

Public Member Functions

 OcelotConfiguration ()
 construct with default configuration
 OcelotConfiguration (std::istream &stream)
 load configuration from stream as JSON
 OcelotConfiguration (const std::string &path)
 loads the configuration object from a path
void * initialize (std::istream &stream, bool preserve=false)
 initializes configuration object from a stream as JSON
void * configuration () const
 parses and returns configuration object if need be

Static Public Member Functions

static const OcelotConfigurationget ()
 gets singleton configuration object or
static void destroy ()
 destroys the singleton

Public Attributes

std::string path
 path to configuration file for reparsing
std::string ocelot
 name of Ocelot implementation
std::string version
 version of current Ocelot configuration
TraceGeneration trace
 configuration for trace generator
CudaRuntimeImplementation cuda
 configuration for CUDA runtime implementation
Executive executive
 configuration for Ocelot Executive
Checkpoint checkpoint
 configuration for Ocelot checkpoint
Optimizations optimizations
 configuration for Ocelot optimizations

Detailed Description

configuration object structure for GPU Ocelot


Constructor & Destructor Documentation

api::OcelotConfiguration::OcelotConfiguration ( )

construct with default configuration

api::OcelotConfiguration::OcelotConfiguration ( std::istream &  stream)

load configuration from stream as JSON

api::OcelotConfiguration::OcelotConfiguration ( const std::string &  path)

loads the configuration object from a path


Member Function Documentation

void * api::OcelotConfiguration::configuration ( ) const

parses and returns configuration object if need be

parses and returns configuration object

void api::OcelotConfiguration::destroy ( ) [static]

destroys the singleton

const api::OcelotConfiguration & api::OcelotConfiguration::get ( ) [static]

gets singleton configuration object or

void * api::OcelotConfiguration::initialize ( std::istream &  stream,
bool  preserve = false 
)

initializes configuration object from a stream as JSON


Member Data Documentation

configuration for Ocelot checkpoint

configuration for CUDA runtime implementation

configuration for Ocelot Executive

name of Ocelot implementation

configuration for Ocelot optimizations

path to configuration file for reparsing

configuration for trace generator

version of current Ocelot configuration


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines