mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 03:01:20 +08:00
Change-Id: Ice49ac7434038ec3667084414fa23a4367242e9c Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#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::processProperties(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) ||
|
|
(commandType == CL_COMMAND_MIGRATE_MEM_OBJECTS) ||
|
|
(commandType == CL_COMMAND_SVM_FREE) ||
|
|
(commandType == CL_COMMAND_SVM_MAP) ||
|
|
(commandType == CL_COMMAND_SVM_MIGRATE_MEM) ||
|
|
(commandType == CL_COMMAND_SVM_UNMAP));
|
|
}
|
|
} // namespace NEO
|