mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Remove deprecated code
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4ae2f6e111
commit
fe8cb190bc
@@ -36,7 +36,6 @@ class Kernel;
|
||||
class MemObj;
|
||||
class PerformanceCounters;
|
||||
struct CompletionStamp;
|
||||
struct DispatchGlobalsArgs;
|
||||
struct MultiDispatchInfo;
|
||||
|
||||
enum class QueuePriority {
|
||||
@@ -188,8 +187,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
const cl_event *eventWaitList, cl_event *event) = 0;
|
||||
|
||||
virtual cl_int finish() = 0;
|
||||
virtual cl_int enqueueInitDispatchGlobals(DispatchGlobalsArgs *dispatchGlobalsArgs, cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList, cl_event *event) = 0;
|
||||
|
||||
virtual cl_int flush() = 0;
|
||||
|
||||
|
||||
@@ -341,10 +341,6 @@ class CommandQueueHw : public CommandQueue {
|
||||
cl_event *event) override;
|
||||
|
||||
cl_int finish() override;
|
||||
cl_int enqueueInitDispatchGlobals(DispatchGlobalsArgs *dispatchGlobalsArgs,
|
||||
cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList,
|
||||
cl_event *event) override;
|
||||
cl_int flush() override;
|
||||
|
||||
template <uint32_t enqueueType>
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct DispatchGlobalsArgs {
|
||||
};
|
||||
|
||||
template <typename GfxFamily>
|
||||
cl_int CommandQueueHw<GfxFamily>::enqueueInitDispatchGlobals(DispatchGlobalsArgs *dispatchGlobalsArgs,
|
||||
cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList,
|
||||
cl_event *event) {
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
} // namespace NEO
|
||||
@@ -794,7 +794,6 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
|
||||
uint32_t numGrfRequired = GrfConfig::DefaultGrfNumber;
|
||||
auto specialPipelineSelectMode = false;
|
||||
Kernel *kernel = nullptr;
|
||||
bool usePerDssBackedBuffer = false;
|
||||
bool auxTranslationRequired = false;
|
||||
bool useGlobalAtomics = false;
|
||||
|
||||
@@ -815,10 +814,6 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
|
||||
anyUncacheableArgs = true;
|
||||
}
|
||||
|
||||
if (kernel->requiresPerDssBackedBuffer()) {
|
||||
usePerDssBackedBuffer = true;
|
||||
}
|
||||
|
||||
if (kernel->getKernelInfo().kernelDescriptor.kernelAttributes.flags.useGlobalAtomics) {
|
||||
useGlobalAtomics = true;
|
||||
}
|
||||
@@ -889,7 +884,7 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
|
||||
implicitFlush, //implicitFlush
|
||||
!eventBuilder.getEvent() || getGpgpuCommandStreamReceiver().isNTo1SubmissionModelEnabled(), //outOfOrderExecutionAllowed
|
||||
false, //epilogueRequired
|
||||
usePerDssBackedBuffer, //usePerDssBackedBuffer
|
||||
false, //usePerDssBackedBuffer
|
||||
kernel->isSingleSubdevicePreferred(), //useSingleSubdevice
|
||||
useGlobalAtomics, //useGlobalAtomics
|
||||
kernel->areMultipleSubDevicesInContext(), //areMultipleSubDevicesInContext
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw_enabled_device_enqueue.inl"
|
||||
#include "opencl/source/command_queue/enqueue_resource_barrier.h"
|
||||
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef ICLFamily Family;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw_disabled_device_enqueue.inl"
|
||||
|
||||
#include "command_queue_helpers_gen12lp.inl"
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw_disabled_device_enqueue.inl"
|
||||
#include "opencl/source/command_queue/enqueue_resource_barrier.h"
|
||||
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef BDWFamily Family;
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw_enabled_device_enqueue.inl"
|
||||
#include "opencl/source/command_queue/enqueue_resource_barrier.h"
|
||||
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
typedef SKLFamily Family;
|
||||
|
||||
@@ -247,7 +247,7 @@ CompletionStamp &CommandComputeKernel::submit(uint32_t taskLevel, bool terminate
|
||||
false, //implicitFlush
|
||||
commandQueue.getGpgpuCommandStreamReceiver().isNTo1SubmissionModelEnabled(), //outOfOrderExecutionAllowed
|
||||
false, //epilogueRequired
|
||||
kernel->requiresPerDssBackedBuffer(), //usePerDssBackedBuffer
|
||||
false, //usePerDssBackedBuffer
|
||||
kernel->isSingleSubdevicePreferred(), //useSingleSubdevice
|
||||
kernel->getKernelInfo().kernelDescriptor.kernelAttributes.flags.useGlobalAtomics, //useGlobalAtomics
|
||||
kernel->areMultipleSubDevicesInContext(), //areMultipleSubDevicesInContext
|
||||
|
||||
@@ -384,7 +384,6 @@ class Kernel : public ReferenceTrackedObject<Kernel> {
|
||||
const bool kernelUsesLocalIds,
|
||||
const bool isCssUsed) const;
|
||||
|
||||
bool requiresPerDssBackedBuffer() const;
|
||||
bool requiresLimitedWorkgroupSize() const;
|
||||
bool isKernelDebugEnabled() const { return debugEnabled; }
|
||||
int32_t setAdditionalKernelExecInfoWithParam(uint32_t paramName, size_t paramValueSize, const void *paramValue);
|
||||
|
||||
@@ -12,10 +12,6 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
bool Kernel::requiresPerDssBackedBuffer() const {
|
||||
return DebugManager.flags.ForcePerDssBackedBufferProgramming.get();
|
||||
}
|
||||
|
||||
int32_t Kernel::setAdditionalKernelExecInfoWithParam(uint32_t paramName, size_t paramValueSize, const void *paramValue) {
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/command_queue/enqueue_resource_barrier.h"
|
||||
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = XeHpFamily;
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/command_queue/enqueue_resource_barrier.h"
|
||||
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = XE_HPC_COREFamily;
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||
#include "opencl/source/command_queue/enqueue_resource_barrier.h"
|
||||
|
||||
#include "enqueue_init_dispatch_globals.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = XE_HPG_COREFamily;
|
||||
|
||||
Reference in New Issue
Block a user