mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
[n/n] Remove event registry.
Change-Id: Ie7da0f2dc944583771aaa80648217602ccff99ce
This commit is contained in:

committed by
sys_ocldev

parent
b0a41b81bb
commit
2a00a15141
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user