[n/n] Remove event registry.

Change-Id: Ie7da0f2dc944583771aaa80648217602ccff99ce
This commit is contained in:
Mrozek, Michal
2017-12-21 12:47:05 +01:00
committed by sys_ocldev
parent b0a41b81bb
commit 2a00a15141
20 changed files with 1 additions and 527 deletions

View File

@ -172,7 +172,6 @@ bool Context::createImpl(const cl_context_properties *properties,
if (devices.size() > 0) {
this->memoryManager = this->getDevice(0)->getMemoryManager();
this->svmAllocsManager = new SVMAllocsManager(this->memoryManager);
this->eventsRegistry.setDevice(this->getDevice(0));
if (memoryManager->isAsyncDeleterEnabled()) {
memoryManager->getDeferredDeleter()->addClient();
}

View File

@ -23,7 +23,6 @@
#pragma once
#include "runtime/device/device_vector.h"
#include "runtime/event/event.h"
#include "runtime/event/event_registry.h"
#include "runtime/context/driver_diagnostics.h"
#include <vector>
@ -88,10 +87,6 @@ class Context : public BaseObject<_cl_context> {
return svmAllocsManager;
}
EventsRegistry &getEventsRegistry() {
return eventsRegistry;
}
DeviceQueue *getDefaultDeviceQueue();
void setDefaultDeviceQueue(DeviceQueue *queue);
@ -140,7 +135,6 @@ class Context : public BaseObject<_cl_context> {
DeviceVector devices;
MemoryManager *memoryManager;
SVMAllocsManager *svmAllocsManager = nullptr;
EventsRegistry eventsRegistry;
CommandQueue *specialQueue;
DeviceQueue *defaultDeviceQueue;
std::vector<std::unique_ptr<SharingFunctions>> sharingFunctions;