mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
20 lines
491 B
C++
20 lines
491 B
C++
/*
|
|
* Copyright (C) 2020-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/source/command_queue/command_queue.h"
|
|
|
|
namespace NEO {
|
|
bool CommandQueue::isAssignEngineRoundRobinEnabled() {
|
|
auto assignEngineRoundRobin = false;
|
|
|
|
if (DebugManager.flags.EnableCmdQRoundRobindEngineAssign.get() != -1) {
|
|
assignEngineRoundRobin = DebugManager.flags.EnableCmdQRoundRobindEngineAssign.get();
|
|
}
|
|
|
|
return assignEngineRoundRobin;
|
|
}
|
|
} // namespace NEO
|