compute-runtime/shared/source/helpers/engine_control.cpp

22 lines
430 B
C++

/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/engine_control.h"
#include "shared/source/os_interface/os_context.h"
namespace NEO {
const aub_stream::EngineType &EngineControl::getEngineType() const {
return osContext->getEngineType();
}
EngineUsage EngineControl::getEngineUsage() const {
return osContext->getEngineUsage();
}
} // namespace NEO