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