mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
22 lines
511 B
C++
22 lines
511 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
#include "shared/source/helpers/hw_helper.h"
|
|
|
|
namespace NEO {
|
|
|
|
uint32_t HwHelper::getSubDevicesCount(const HardwareInfo *pHwInfo) {
|
|
return DebugManager.flags.CreateMultipleSubDevices.get() > 0 ? DebugManager.flags.CreateMultipleSubDevices.get() : 1u;
|
|
}
|
|
|
|
uint32_t HwHelper::getEnginesCount(const HardwareInfo &hwInfo) {
|
|
return 1u;
|
|
}
|
|
|
|
} // namespace NEO
|