setting unique file names for the rest of the cpp files

Change-Id: I34f168714e6f66611bee0a755621aeeea0ddc13f
This commit is contained in:
Stefanowski, Adam 2018-05-22 15:55:06 +02:00 committed by sys_ocldev
parent 981c97005a
commit a7520e7a3d
39 changed files with 46 additions and 46 deletions

View File

@ -21,7 +21,7 @@
set(RUNTIME_SRCS_OS_INTERFACE_LINUX
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/allocator_helper.h
${CMAKE_CURRENT_SOURCE_DIR}/api.cpp
${CMAKE_CURRENT_SOURCE_DIR}/api_linux.cpp
${CMAKE_CURRENT_SOURCE_DIR}/d3d_sharing_functions.h
${CMAKE_CURRENT_SOURCE_DIR}/debug_env_reader.cpp
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream.inl
@ -52,8 +52,8 @@ set(RUNTIME_SRCS_OS_INTERFACE_LINUX
${CMAKE_CURRENT_SOURCE_DIR}/os_interface.h
${CMAKE_CURRENT_SOURCE_DIR}/os_library.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_library.h
${CMAKE_CURRENT_SOURCE_DIR}/os_time.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_time.h
${CMAKE_CURRENT_SOURCE_DIR}/os_time_linux.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_time_linux.h
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_linux.cpp
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_linux.h
${CMAKE_CURRENT_SOURCE_DIR}/print.cpp

View File

@ -25,7 +25,7 @@
#include "runtime/os_interface/linux/drm_buffer_object.h"
#include "runtime/os_interface/linux/drm_memory_manager.h"
#include "runtime/os_interface/linux/drm_neo.h"
#include "runtime/os_interface/linux/os_time.h"
#include "runtime/os_interface/linux/os_time_linux.h"
#include "runtime/utilities/stackvec.h"
#include <sys/syscall.h>

View File

@ -22,7 +22,7 @@
#pragma once
#include "runtime/os_interface/linux/drm_neo.h"
#include "runtime/os_interface/linux/os_time.h"
#include "runtime/os_interface/linux/os_time_linux.h"
#include "drm/i915_drm.h"
#include <cstdio>

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -24,7 +24,7 @@
#include "runtime/os_interface/linux/drm_neo.h"
#include "drm/i915_drm.h"
#include "runtime/os_interface/linux/os_interface.h"
#include "runtime/os_interface/linux/os_time.h"
#include "runtime/os_interface/linux/os_time_linux.h"
namespace OCLRT {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),

View File

@ -26,7 +26,7 @@ endif()
set(RUNTIME_SRCS_OS_INTERFACE_WINDOWS
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/api.cpp
${CMAKE_CURRENT_SOURCE_DIR}/api_win.cpp
${CMAKE_CURRENT_SOURCE_DIR}/d3d10_11_sharing_functions.cpp
${CMAKE_CURRENT_SOURCE_DIR}/d3d9_sharing_functions.cpp
${CMAKE_CURRENT_SOURCE_DIR}/d3d_sharing_functions.h
@ -49,8 +49,8 @@ set(RUNTIME_SRCS_OS_INTERFACE_WINDOWS
${CMAKE_CURRENT_SOURCE_DIR}/os_socket.h
${CMAKE_CURRENT_SOURCE_DIR}/os_thread_win.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_thread_win.h
${CMAKE_CURRENT_SOURCE_DIR}/os_time.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_time.h
${CMAKE_CURRENT_SOURCE_DIR}/os_time_win.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_time_win.h
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_win.cpp
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_win.h
${CMAKE_CURRENT_SOURCE_DIR}/print.cpp

View File

@ -23,7 +23,7 @@
#include <memory>
#include "runtime/os_interface/windows/wddm/wddm.h"
#include "runtime/os_interface/windows/os_interface.h"
#include "runtime/os_interface/windows/os_time.h"
#include "runtime/os_interface/windows/os_time_win.h"
#undef WIN32_NO_STATUS

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),

View File

@ -21,7 +21,7 @@
*/
#include "unit_tests/helpers/gtest_helpers.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "runtime/os_interface/windows/os_interface.h"
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "unit_tests/helpers/gtest_helpers.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "runtime/os_interface/windows/os_interface.h"
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "unit_tests/helpers/gtest_helpers.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "runtime/os_interface/windows/os_interface.h"
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "unit_tests/helpers/gtest_helpers.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "runtime/os_interface/windows/os_interface.h"
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "unit_tests/helpers/gtest_helpers.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "runtime/os_interface/windows/os_interface.h"
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "unit_tests/helpers/gtest_helpers.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -21,7 +21,7 @@
*/
#include "runtime/os_interface/windows/os_interface.h"
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
using namespace OCLRT;
using namespace std;

View File

@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "unit_tests/os_interface/windows/os_interface_tests.h"
#include "unit_tests/os_interface/windows/os_interface_win_tests.h"
#include "unit_tests/gen_common/test.h"
typedef OsInterfaceTest OsInterfaceTestSkl;

View File

@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "runtime/os_interface/windows/os_time.h"
#include "runtime/os_interface/windows/os_time_win.h"
#include "mock_gdi.h"
ADAPTER_INFO gAdapterInfo = {0};

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -21,7 +21,7 @@
*/
#pragma once
#include "runtime/os_interface/windows/os_time.h"
#include "runtime/os_interface/windows/os_time_win.h"
namespace OCLRT {
class MockOSTimeWin : public OSTimeWin {

View File

@ -35,12 +35,12 @@ set(IGDRCL_SRCS_tests_os_interface_linux
${CMAKE_CURRENT_SOURCE_DIR}/drm_mock.h
${CMAKE_CURRENT_SOURCE_DIR}/drm_neo_create.cpp
${CMAKE_CURRENT_SOURCE_DIR}/drm_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests.h
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_linux_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_linux_tests.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_os_time_linux.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_performance_counters_linux.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mock_performance_counters_linux.h
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_linux_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_time_test.cpp
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_linux_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/self_lib_lin.cpp

View File

@ -24,7 +24,7 @@
#include "runtime/helpers/options.h"
#include "runtime/os_interface/linux/os_interface.h"
#include "unit_tests/os_interface/linux/hw_info_config_tests.h"
#include "unit_tests/os_interface/linux/hw_info_config_linux_tests.h"
#include "unit_tests/libult/mock_gfx_family.h"
#include <cstring>

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -21,7 +21,7 @@
*/
#pragma once
#include "runtime/os_interface/linux/os_time.h"
#include "runtime/os_interface/linux/os_time_linux.h"
#include "runtime/os_interface/linux/os_interface.h"
namespace OCLRT {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -26,7 +26,7 @@
#include "test.h"
#include "gtest/gtest.h"
#include "runtime/os_interface/linux/os_interface.h"
#include "runtime/os_interface/linux/os_time.h"
#include "runtime/os_interface/linux/os_time_linux.h"
#include <dlfcn.h>

View File

@ -26,16 +26,16 @@ set(IGDRCL_SRCS_tests_os_interface_windows
${CMAKE_CURRENT_SOURCE_DIR}/driver_info_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/gdi_dll_fixture.h
${CMAKE_CURRENT_SOURCE_DIR}/gdi_interface_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests.h
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_win_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_win_tests.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_gdi_interface.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_kmdaf_listener.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_os_time_win.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_performance_counters_win.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mock_performance_counters_win.h
${CMAKE_CURRENT_SOURCE_DIR}/mock_wddm_memory_manager.h
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_tests.h
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win_tests.h
${CMAKE_CURRENT_SOURCE_DIR}/os_library_win_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_time_win_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_win_tests.cpp

View File

@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "unit_tests/os_interface/windows/hw_info_config_tests.h"
#include "unit_tests/os_interface/windows/hw_info_config_win_tests.h"
#include "runtime/os_interface/windows/os_interface.h"
#include "runtime/os_interface/windows/wddm/wddm.h"

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -21,7 +21,7 @@
*/
#pragma once
#include "runtime/os_interface/windows/os_time.h"
#include "runtime/os_interface/windows/os_time_win.h"
namespace OCLRT {
class MockOSTimeWin : public OSTimeWin {

View File

@ -20,7 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "unit_tests/os_interface/windows/os_interface_tests.h"
#include "unit_tests/os_interface/windows/os_interface_win_tests.h"
TEST_F(OsInterfaceTest, givenOsInterfaceWithoutWddmWhenGetHwContextIdIsCalledThenReturnsZero) {
auto retVal = osInterface->getHwContextId();

View File

@ -20,7 +20,7 @@
set(IGDRCL_SRCS_tests_source_level_debugger
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/device_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/source_level_debugger_device_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/source_level_debugger_csr_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/source_level_debugger_preamble_test.h
${CMAKE_CURRENT_SOURCE_DIR}/source_level_debugger_preamble_test.inl