mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Enable local memory on Linux by default
Related-To: NEO-2687 Change-Id: I0a208e0ccd2946f1cc07dcfb36a9e9e071bb40bb
This commit is contained in:
committed by
sys_ocldev
parent
14d8165887
commit
5fb7b11049
@@ -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
|
||||
)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user