Files
compute-runtime/runtime/os_interface/windows/wddm_engine_mapper.cpp
Dunajski, Bartosz d18d1b6ce4 Opensource TGLLP
Change-Id: I1685057a641d938170b8c7ec860d2f53f45b1d6d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-27 09:20:41 +02:00

26 lines
575 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/os_interface/windows/wddm_engine_mapper.h"
#include "hw_cmds.h"
namespace NEO {
GPUNODE_ORDINAL WddmEngineMapper::engineNodeMap(aub_stream::EngineType engineType) {
if (aub_stream::ENGINE_RCS == engineType) {
return GPUNODE_3D;
} else if (aub_stream::ENGINE_BCS == engineType) {
return GPUNODE_BLT;
} else if (aub_stream::ENGINE_CCS == engineType) {
return GPUNODE_CCS0;
}
UNRECOVERABLE_IF(true);
}
} // namespace NEO