From 34176a8ea924d48f55e80207b3dd395363cdd0d2 Mon Sep 17 00:00:00 2001 From: Filip Hazubski Date: Thu, 15 Oct 2020 14:09:25 +0200 Subject: [PATCH] Correct formatting Change-Id: I592986cb67099136a75d12ad3bc9729c7f85738b Signed-off-by: Filip Hazubski --- opencl/source/dll/debug_manager.cpp | 1 - opencl/source/gen11/enable_family_full_ocl_gen11.cpp | 1 - opencl/test/unit_test/libult/debug_manager.cpp | 1 - opencl/test/unit_test/mocks/mock_gmm_resource_info.h | 2 -- opencl/test/unit_test/offline_compiler/segfault_test/main.cpp | 1 - shared/source/utilities/cpu_info.h | 1 + shared/source/utilities/perf_profiler.cpp | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) diff --git a/opencl/source/dll/debug_manager.cpp b/opencl/source/dll/debug_manager.cpp index 31d9995df9..e7a053c776 100644 --- a/opencl/source/dll/debug_manager.cpp +++ b/opencl/source/dll/debug_manager.cpp @@ -9,7 +9,6 @@ #include "opencl/source/os_interface/ocl_reg_path.h" - namespace NEO { DebugSettingsManager DebugManager(oclRegPath); } diff --git a/opencl/source/gen11/enable_family_full_ocl_gen11.cpp b/opencl/source/gen11/enable_family_full_ocl_gen11.cpp index cc36722e4c..1269b00711 100644 --- a/opencl/source/gen11/enable_family_full_ocl_gen11.cpp +++ b/opencl/source/gen11/enable_family_full_ocl_gen11.cpp @@ -11,7 +11,6 @@ #include "opencl/source/command_stream/aub_command_stream_receiver_hw.h" #include "opencl/source/command_stream/tbx_command_stream_receiver_hw.h" #include "opencl/source/device_queue/device_queue_hw.h" - #include "opencl/source/mem_obj/buffer.h" #include "opencl/source/mem_obj/image.h" #include "opencl/source/sampler/sampler.h" diff --git a/opencl/test/unit_test/libult/debug_manager.cpp b/opencl/test/unit_test/libult/debug_manager.cpp index 31d9995df9..e7a053c776 100644 --- a/opencl/test/unit_test/libult/debug_manager.cpp +++ b/opencl/test/unit_test/libult/debug_manager.cpp @@ -9,7 +9,6 @@ #include "opencl/source/os_interface/ocl_reg_path.h" - namespace NEO { DebugSettingsManager DebugManager(oclRegPath); } diff --git a/opencl/test/unit_test/mocks/mock_gmm_resource_info.h b/opencl/test/unit_test/mocks/mock_gmm_resource_info.h index 644d851fd7..410701cc62 100644 --- a/opencl/test/unit_test/mocks/mock_gmm_resource_info.h +++ b/opencl/test/unit_test/mocks/mock_gmm_resource_info.h @@ -12,7 +12,6 @@ #include "gmock/gmock.h" - namespace NEO { struct SurfaceFormatInfo; @@ -112,4 +111,3 @@ class MockGmmResourceInfo : public GmmResourceInfo { uint32_t mipTailStartLod = 0; }; } // namespace NEO - diff --git a/opencl/test/unit_test/offline_compiler/segfault_test/main.cpp b/opencl/test/unit_test/offline_compiler/segfault_test/main.cpp index 65b2273890..9ac39b9df0 100644 --- a/opencl/test/unit_test/offline_compiler/segfault_test/main.cpp +++ b/opencl/test/unit_test/offline_compiler/segfault_test/main.cpp @@ -11,7 +11,6 @@ #include - extern void generateSegfaultWithSafetyGuard(SegfaultHelper *segfaultHelper); int main(int argc, char **argv) { diff --git a/shared/source/utilities/cpu_info.h b/shared/source/utilities/cpu_info.h index 65c883e0cf..b093f7c9ad 100644 --- a/shared/source/utilities/cpu_info.h +++ b/shared/source/utilities/cpu_info.h @@ -7,6 +7,7 @@ #pragma once #include "shared/source/helpers/constants.h" + #include #ifndef BIT diff --git a/shared/source/utilities/perf_profiler.cpp b/shared/source/utilities/perf_profiler.cpp index 5bb8077f56..0451d5f4c0 100644 --- a/shared/source/utilities/perf_profiler.cpp +++ b/shared/source/utilities/perf_profiler.cpp @@ -16,7 +16,6 @@ #include #include - namespace NEO { std::atomic PerfProfiler::counter(0);