2018-08-24 15:02:37 +02:00
|
|
|
/*
|
2018-11-23 10:19:46 +01:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-08-24 15:02:37 +02:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-08-24 15:02:37 +02:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "runtime/helpers/queue_helpers.h"
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2019-03-18 13:34:14 +01:00
|
|
|
bool isExtraToken(const cl_queue_properties *property) {
|
2018-08-24 15:02:37 +02:00
|
|
|
return false;
|
|
|
|
|
}
|
2018-11-23 11:05:38 +01:00
|
|
|
|
2019-03-18 13:34:14 +01:00
|
|
|
bool verifyExtraTokens(Device *&device, Context &context, const cl_queue_properties *properties) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2018-12-06 09:21:28 +01:00
|
|
|
void CommandQueue::processProperties(const cl_queue_properties *properties) {
|
|
|
|
|
}
|
2019-03-19 14:34:43 +01:00
|
|
|
|
|
|
|
|
void getIntelQueueInfo(CommandQueue *queue, cl_command_queue_info paramName, GetInfoHelper &getInfoHelper, cl_int &retVal) {
|
|
|
|
|
retVal = CL_INVALID_VALUE;
|
|
|
|
|
}
|
2019-03-22 13:40:41 +01:00
|
|
|
bool isCommandWithoutKernel(uint32_t commandType) {
|
|
|
|
|
return ((commandType == CL_COMMAND_BARRIER) || (commandType == CL_COMMAND_MARKER) ||
|
|
|
|
|
(commandType == CL_COMMAND_MIGRATE_MEM_OBJECTS) ||
|
|
|
|
|
(commandType == CL_COMMAND_SVM_MAP) ||
|
|
|
|
|
(commandType == CL_COMMAND_SVM_UNMAP) ||
|
|
|
|
|
(commandType == CL_COMMAND_SVM_FREE));
|
|
|
|
|
}
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|