mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Change-Id: Ic65fab67d0943023caecfc07b63e2853fb58d0c4 Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com> Related-To: NEO-3321, NEO-3221
27 lines
548 B
C++
27 lines
548 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/helpers/hw_info.h"
|
|
#include "runtime/os_interface/hw_info_config.h"
|
|
|
|
namespace NEO {
|
|
|
|
template <>
|
|
int HwInfoConfigHw<IGFX_ELKHARTLAKE>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
|
|
if (nullptr == osIface) {
|
|
return 0;
|
|
}
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
|
|
|
return 0;
|
|
}
|
|
|
|
template class HwInfoConfigHw<IGFX_ELKHARTLAKE>;
|
|
} // namespace NEO
|