LAMA
/home/brandes/workspace/LAMA/src/lama/ContextFactory.hpp File Reference

ContextFactory.hpp. More...

#include <lama/config.hpp>
#include <lama/NonCopyable.hpp>
#include <lama/Context.hpp>
#include <logging/logging.hpp>
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Data Structures

class  lama::ContextFactory
 Singleton class that provides (shared) pointers to a context. More...

Namespaces

namespace  lama
 

The namespace lama holds everything of the C++ Library lama.


Defines

#define LAMA_DEFAULT_DEVICE_NUMBER   -1
 The value here is used as default if no device number is specified.

Detailed Description

ContextFactory.hpp.

Author:
Thomas Brandes
Date:
10.07.2011 $Id$

Define Documentation

#define LAMA_DEFAULT_DEVICE_NUMBER   -1

The value here is used as default if no device number is specified.

It should be a value that is not used by any context manager for a real device.

Referenced by lama::DefaultHostContextManager::getContext(), lama::CUDAHostContextManager::getContext(), lama::ContextFactory::getContext(), lama::CUDAContextManager::getInstance(), and lama::MatrixConfigGrammar::MatrixConfigGrammar().