compute-runtime/runtime/os_interface/linux/drm_engine_mapper.cpp

22 lines
424 B
C++
Raw Normal View History

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/os_interface/linux/drm_engine_mapper.h"
#include "drm/i915_drm.h"
#include "hw_cmds.h"
namespace OCLRT {
unsigned int DrmEngineMapper::engineNodeMap(EngineType engineType) {
if (EngineType::ENGINE_RCS == engineType) {
return I915_EXEC_RENDER;
}
UNRECOVERABLE_IF(true);
}
} // namespace OCLRT