mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Remove device enqueue part 10
- remove DeviceQueue Related-To: NEO-6559 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5b8bc19dc5
commit
a06fbd2077
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018-2021 Intel Corporation
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/source/command_queue/command_queue.h"
|
||||
#include "opencl/source/device_queue/device_queue.h"
|
||||
#include "opencl/source/helpers/get_info_status_mapper.h"
|
||||
|
||||
namespace NEO {
|
||||
@@ -22,9 +21,6 @@ inline void releaseVirtualEvent(CommandQueue &commandQueue) {
|
||||
}
|
||||
}
|
||||
|
||||
inline void releaseVirtualEvent(DeviceQueue &commandQueue) {
|
||||
}
|
||||
|
||||
inline bool isCommandWithoutKernel(uint32_t commandType) {
|
||||
return ((commandType == CL_COMMAND_BARRIER) ||
|
||||
(commandType == CL_COMMAND_MARKER) ||
|
||||
@@ -108,15 +104,7 @@ cl_int getQueueInfo(QueueType *queue,
|
||||
case CL_QUEUE_PROPERTIES:
|
||||
retVal = changeGetInfoStatusToCLResultType(getInfoHelper.set<cl_command_queue_properties>(queue->getCommandQueueProperties()));
|
||||
break;
|
||||
case CL_QUEUE_DEVICE_DEFAULT:
|
||||
retVal = changeGetInfoStatusToCLResultType(getInfoHelper.set<cl_command_queue>(queue->getContext().getDefaultDeviceQueue()));
|
||||
break;
|
||||
case CL_QUEUE_SIZE:
|
||||
if (std::is_same<QueueType, class DeviceQueue>::value) {
|
||||
auto devQ = reinterpret_cast<DeviceQueue *>(queue);
|
||||
retVal = changeGetInfoStatusToCLResultType(getInfoHelper.set<cl_uint>(devQ->getQueueSize()));
|
||||
break;
|
||||
}
|
||||
retVal = CL_INVALID_COMMAND_QUEUE;
|
||||
break;
|
||||
case CL_QUEUE_PROPERTIES_ARRAY: {
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/source/command_queue/command_queue.h"
|
||||
#include "opencl/source/command_queue/enqueue_common.h"
|
||||
#include "opencl/source/device_queue/device_queue.h"
|
||||
#include "opencl/source/gtpin/gtpin_notify.h"
|
||||
#include "opencl/source/helpers/cl_preemption_helper.h"
|
||||
#include "opencl/source/helpers/enqueue_properties.h"
|
||||
|
||||
Reference in New Issue
Block a user