mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Turn on Windows OS support for Local Memory
Change-Id: I83ff6d787d18a621d6213fbe32166d00d3e31ea9
This commit is contained in:

committed by
sys_ocldev

parent
38416a2d83
commit
54269d9791
@ -11,6 +11,7 @@ add_executable(igdrcl_windows_dll_tests
|
||||
${IGDRCL_SOURCE_DIR}/runtime/os_interface/windows/wddm/wddm_create.cpp
|
||||
${IGDRCL_SOURCE_DIR}/unit_tests/ult_configuration.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_create_tests.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_tests.cpp
|
||||
$<TARGET_OBJECTS:igdrcl_libult>
|
||||
$<TARGET_OBJECTS:igdrcl_libult_cs>
|
||||
$<TARGET_OBJECTS:igdrcl_libult_env>
|
||||
@ -37,4 +38,4 @@ add_dependencies(run_unit_tests run_windows_dll_tests)
|
||||
|
||||
set_target_properties(igdrcl_windows_dll_tests PROPERTIES FOLDER ${TEST_PROJECTS_FOLDER})
|
||||
set_target_properties(run_windows_dll_tests PROPERTIES FOLDER ${TEST_PROJECTS_FOLDER})
|
||||
endif()
|
||||
endif()
|
||||
|
13
unit_tests/windows/os_interface_tests.cpp
Normal file
13
unit_tests/windows/os_interface_tests.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/os_interface/windows/os_interface.h"
|
||||
#include "test.h"
|
||||
|
||||
TEST(osInterfaceTests, osInterfaceLocalMemoryEnabledByDefault) {
|
||||
EXPECT_TRUE(OCLRT::OSInterface::osEnableLocalMemory);
|
||||
}
|
Reference in New Issue
Block a user