mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Remove not needed methods.
Change-Id: If8be6e18054381cabba129fc0d05802f32cc0d34
This commit is contained in:
@@ -95,17 +95,6 @@ void Context::overrideSpecialQueueAndDecrementRefCount(CommandQueue *commandQueu
|
||||
this->decRefInternal();
|
||||
};
|
||||
|
||||
bool Context::isSpecialQueue(CommandQueue *commandQueue) {
|
||||
return specialQueue == commandQueue;
|
||||
};
|
||||
|
||||
void Context::deleteSpecialQueue() {
|
||||
if (specialQueue) {
|
||||
delete specialQueue;
|
||||
specialQueue = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
bool Context::createImpl(const cl_context_properties *properties,
|
||||
const DeviceVector &devices,
|
||||
void(CL_CALLBACK *funcNotify)(const char *, const void *, size_t, void *),
|
||||
|
||||
@@ -93,8 +93,6 @@ class Context : public BaseObject<_cl_context> {
|
||||
CommandQueue *getSpecialQueue();
|
||||
void setSpecialQueue(CommandQueue *commandQueue);
|
||||
void overrideSpecialQueueAndDecrementRefCount(CommandQueue *commandQueue);
|
||||
bool isSpecialQueue(CommandQueue *commandQueue);
|
||||
void deleteSpecialQueue();
|
||||
|
||||
template <typename Sharing>
|
||||
Sharing *getSharing();
|
||||
|
||||
Reference in New Issue
Block a user