mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Reorganization directory structure [1/n]
Change-Id: Id1a94577437a4826a32411869f516fec20314ec0
This commit is contained in:
18
opencl/source/gen11/linux/command_stream_receiver_gen11.cpp
Normal file
18
opencl/source/gen11/linux/command_stream_receiver_gen11.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "command_stream/command_stream_receiver_with_aub_dump.inl"
|
||||
#include "os_interface/linux/device_command_stream.inl"
|
||||
#include "os_interface/linux/drm_command_stream.inl"
|
||||
#include "os_interface/linux/drm_command_stream_bdw_plus.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template class DeviceCommandStreamReceiver<ICLFamily>;
|
||||
template class DrmCommandStreamReceiver<ICLFamily>;
|
||||
template class CommandStreamReceiverWithAUBDump<DrmCommandStreamReceiver<ICLFamily>>;
|
||||
} // namespace NEO
|
||||
26
opencl/source/gen11/linux/hw_info_config_ehl.inl
Normal file
26
opencl/source/gen11/linux/hw_info_config_ehl.inl
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/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
|
||||
19
opencl/source/gen11/linux/hw_info_config_gen11.cpp
Normal file
19
opencl/source/gen11/linux/hw_info_config_gen11.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/os_interface/hw_info_config.inl"
|
||||
#include "core/os_interface/hw_info_config_bdw_plus.inl"
|
||||
|
||||
#ifdef SUPPORT_ICLLP
|
||||
#include "hw_info_config_icllp.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_LKF
|
||||
#include "hw_info_config_lkf.inl"
|
||||
#endif
|
||||
#ifdef SUPPORT_EHL
|
||||
#include "hw_info_config_ehl.inl"
|
||||
#endif
|
||||
27
opencl/source/gen11/linux/hw_info_config_icllp.inl
Normal file
27
opencl/source/gen11/linux/hw_info_config_icllp.inl
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
int HwInfoConfigHw<IGFX_ICELAKE_LP>::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_ICELAKE_LP>;
|
||||
} // namespace NEO
|
||||
27
opencl/source/gen11/linux/hw_info_config_lkf.inl
Normal file
27
opencl/source/gen11/linux/hw_info_config_lkf.inl
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/helpers/hw_info.h"
|
||||
#include "core/os_interface/hw_info_config.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
int HwInfoConfigHw<IGFX_LAKEFIELD>::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_LAKEFIELD>;
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user