14 #include "../globals.h"
78 MAP_OVERLAP_MAT_CONVOL,
80 NUMBER_OF_SkelObjectType
85 int objCounters[NUMBER_OF_SkelObjectType];
88 std::vector<Device_CL*> m_devices_CL;
115 struct starpu_conf conf;
119 unsigned int getNextTagID()
121 int tagId = ++tagCounter;
122 m_tagIds.push_back(tagId);
125 unsigned int getCurrentTagID()
130 unsigned int tagCounter;
133 std::vector<unsigned int> m_tagIds;
137 #ifdef USE_STARPU_HISTORY_MODEL // to store list of performance models pointers that are deallocated hereā¦
138 std::vector<starpu_perfmodel *> perfModelList;
143 template <
typename T>
144 EnvironmentDestroyer<T> Environment<T>::_destroyer;
150 template <
typename T>
151 class EnvironmentDestroyer
154 EnvironmentDestroyer(Environment<T>* = 0);
155 ~EnvironmentDestroyer();
157 void SetEnvironment(Environment<T>* s);
159 Environment<T>* _singleton;
165 template <
typename T>
166 EnvironmentDestroyer<T>::EnvironmentDestroyer(Environment<T>* s) {
170 template <
typename T>
171 EnvironmentDestroyer<T>::~EnvironmentDestroyer () {
175 template <
typename T>
176 void EnvironmentDestroyer<T>::SetEnvironment (Environment<T>* s) {
Contains a class declaration for an object which represents an OpenCL device memory allocation...
virtual ~Environment()
Definition: environment.inl:82
SkelObjectType
Definition: environment.h:61
void finishAll()
Definition: environment.inl:119
Contains member function definitions for the Environment class.
Contains a class declaration for the object that represents an OpenCL device.
Definition: environment.h:38
Environment()
Definition: environment.inl:39
A class representing a execution environment.
Definition: environment.h:52
Contains a class declaration for the Vector container.
static Environment * getInstance()
Definition: environment.inl:25