mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Reorganization directory structure [1/n]
Change-Id: Id1a94577437a4826a32411869f516fec20314ec0
This commit is contained in:
32
opencl/source/helpers/queue_helpers.cpp
Normal file
32
opencl/source/helpers/queue_helpers.cpp
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "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_MAP) ||
|
||||
(commandType == CL_COMMAND_SVM_UNMAP) ||
|
||||
(commandType == CL_COMMAND_SVM_FREE));
|
||||
}
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user