mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Change-Id: Iac614c3da23119f2000a21e720d5144da0459528 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
21 lines
426 B
C++
21 lines
426 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/helpers/engine_node_helper.h"
|
|
|
|
namespace NEO {
|
|
namespace EngineHelpers {
|
|
bool isCcs(aub_stream::EngineType engineType) {
|
|
return engineType == aub_stream::ENGINE_CCS;
|
|
}
|
|
|
|
bool isBcs(aub_stream::EngineType engineType) {
|
|
return engineType == aub_stream::ENGINE_BCS;
|
|
}
|
|
} // namespace EngineHelpers
|
|
} // namespace NEO
|