Remove processing extra properties

Related-To: NEO-6024

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-07-01 21:07:56 +00:00
committed by Compute-Runtime-Automation
parent 60df89976a
commit 399dc60bf8
5 changed files with 4 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2020 Intel Corporation
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -8,20 +8,6 @@
#include "opencl/source/helpers/queue_helpers.h"
namespace NEO {
bool isExtraToken(const cl_queue_properties *property) {
return false;
}
bool verifyExtraTokens(ClDevice *&device, Context &context, const cl_queue_properties *properties) {
return true;
}
void CommandQueue::processPropertiesExtra(const cl_queue_properties *properties) {
}
void getIntelQueueInfo(CommandQueue *queue, cl_command_queue_info paramName, GetInfoHelper &getInfoHelper, cl_int &retVal) {
retVal = CL_INVALID_VALUE;
}
bool isCommandWithoutKernel(uint32_t commandType) {
return ((commandType == CL_COMMAND_BARRIER) ||
(commandType == CL_COMMAND_MARKER) ||

View File

@@ -60,8 +60,6 @@ inline void releaseQueue<CommandQueue>(cl_command_queue commandQueue, cl_int &re
}
}
void getIntelQueueInfo(CommandQueue *queue, cl_command_queue_info paramName, GetInfoHelper &getInfoHelper, cl_int &retVal);
inline void getHostQueueInfo(CommandQueue *queue, cl_command_queue_info paramName, GetInfoHelper &getInfoHelper, cl_int &retVal) {
switch (paramName) {
case CL_QUEUE_FAMILY_INTEL:
@@ -71,7 +69,7 @@ inline void getHostQueueInfo(CommandQueue *queue, cl_command_queue_info paramNam
retVal = changeGetInfoStatusToCLResultType(getInfoHelper.set<cl_uint>(queue->getQueueIndexWithinFamily()));
break;
default:
getIntelQueueInfo(queue, paramName, getInfoHelper, retVal);
retVal = CL_INVALID_VALUE;
break;
}
}
@@ -169,6 +167,4 @@ returnType getCmdQueueProperties(const cl_queue_properties *properties,
}
return 0;
}
bool isExtraToken(const cl_queue_properties *property);
bool verifyExtraTokens(ClDevice *&device, Context &context, const cl_queue_properties *properties);
} // namespace NEO