mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Move linux files to core
memory_info engine_info os_inc Related-To: NEO-3982 Change-Id: I52ef357f790497fc6efcd590db277ce96ec1e579 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9a1133615e
commit
9f5152e823
@@ -8,6 +8,9 @@ set(NEO_CORE_OS_INTERFACE_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/debug_env_reader.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/debug_env_reader.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/engine_info.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_info.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_inc.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_library_linux.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_library_linux.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_linux.cpp
|
||||
@@ -16,3 +19,4 @@ set(NEO_CORE_OS_INTERFACE_LINUX
|
||||
)
|
||||
|
||||
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_LINUX ${NEO_CORE_OS_INTERFACE_LINUX})
|
||||
add_subdirectories()
|
||||
|
||||
19
core/os_interface/linux/engine_info.h
Normal file
19
core/os_interface/linux/engine_info.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct EngineInfo {
|
||||
EngineInfo() = default;
|
||||
virtual ~EngineInfo() = 0;
|
||||
};
|
||||
|
||||
inline EngineInfo::~EngineInfo() {}
|
||||
|
||||
} // namespace NEO
|
||||
19
core/os_interface/linux/memory_info.h
Normal file
19
core/os_interface/linux/memory_info.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct MemoryInfo {
|
||||
MemoryInfo() = default;
|
||||
virtual ~MemoryInfo() = 0;
|
||||
};
|
||||
|
||||
inline MemoryInfo::~MemoryInfo(){};
|
||||
|
||||
} // namespace NEO
|
||||
15
core/os_interface/linux/os_inc.h
Normal file
15
core/os_interface/linux/os_inc.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define PATH_SEPARATOR '/'
|
||||
#define __cdecl
|
||||
namespace Os {
|
||||
// Pci Path
|
||||
extern const char *sysFsPciPath;
|
||||
} // namespace Os
|
||||
Reference in New Issue
Block a user