compute-runtime/shared/source/os_interface/windows/wddm_engine_mapper.cpp

26 lines
609 B
C++
Raw Normal View History

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/windows/wddm_engine_mapper.h"
#include "shared/source/helpers/debug_helpers.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