mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
refactor: make os_handle.h non os specific
Use the same file `os_handle.h` on both Linux and Windows. Change implementation of `HandleType` -> `UnifiedHandle` to `std::variant<int, void *>` use `int` on Linux use `void *` on Windows Related-To: NEO-8092 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ee767822b8
commit
0538f0524a
@@ -62,7 +62,6 @@ set(NEO_CORE_OS_INTERFACE_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_info.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_context_linux.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_context_linux.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_handle.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_inc.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_linux.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_linux.h
|
||||
|
||||
Reference in New Issue
Block a user