refactor: Split compiler interface between OSs

Create new file:
`os_handle.h` which contains OS specific Handle type.
Add `shared/source/os_interface/<windows/linux>`
include directory to level_zero.

Related-To: NEO-8092
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwolinski
2023-09-12 15:11:44 +00:00
committed by Compute-Runtime-Automation
parent afba02afa9
commit 0dd40b8616
11 changed files with 65 additions and 18 deletions

View File

@@ -0,0 +1,12 @@
#
# Copyright (C) 2023 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set(NEO_CORE_COMPILER_INTERFACE_LINUX
${CMAKE_CURRENT_SOURCE_DIR}/compiler_cache_linux.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_compiler_cache_helper.cpp
)
set_property(GLOBAL PROPERTY NEO_CORE_COMPILER_INTERFACE_LINUX ${NEO_CORE_COMPILER_INTERFACE_LINUX})

View File

@@ -14,6 +14,7 @@
#include "shared/source/os_interface/linux/sys_calls.h"
#include "shared/source/utilities/io_functions.h"
#include "os_handle.h"
#include "os_inc.h"
#include <algorithm>