Enable local memory on Linux by default

Related-To: NEO-2687

Change-Id: I0a208e0ccd2946f1cc07dcfb36a9e9e071bb40bb
This commit is contained in:
Milczarek, Slawomir
2019-07-01 16:22:53 +02:00
committed by sys_ocldev
parent 14d8165887
commit 5fb7b11049
3 changed files with 6 additions and 2 deletions

View File

@@ -26,8 +26,8 @@ set(IGDRCL_SRCS_linux_dll_tests
${IGDRCL_SOURCE_DIR}/runtime/dll/linux/allocator_helper.cpp
${IGDRCL_SOURCE_DIR}/runtime/dll/linux/drm_neo_create.cpp
${IGDRCL_SOURCE_DIR}/runtime/dll/linux/options.cpp
${IGDRCL_SOURCE_DIR}/runtime/dll/linux/os_interface.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/aub_stream_mocks/aub_stream_interface_mock.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/libult/os_interface.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/os_interface/linux/create_drm_memory_manager.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test_mode.h
)

View File

@@ -376,6 +376,10 @@ TEST(DrmMemoryManagerCreate, whenCallCreateMemoryManagerThenDrmMemoryManagerIsCr
executionEnvironment.memoryManager = std::move(drmMemoryManager);
}
TEST(OsInterfaceTests, givenOsInterfaceWhenEnableLocalMemoryIsSpecifiedThenItIsSetToTrueOn64Bit) {
EXPECT_TRUE(OSInterface::osEnableLocalMemory);
}
int main(int argc, char **argv) {
bool useDefaultListener = false;