Skip to content

Commit

Permalink
Separate include of C header from include of C++ headers by a new line
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Jan 6, 2025
1 parent 73cd278 commit 5c92afe
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 11 deletions.
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_context_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
#include "dpctl_sycl_device_interface.h"
#include "dpctl_sycl_device_selector_interface.h"
#include "dpctl_sycl_types.h"
#include <gtest/gtest.h>

#include <stddef.h>

#include <gtest/gtest.h>
#include <sycl/sycl.hpp>
#include <vector>

Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_device_aspects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
#include "dpctl_sycl_enum_types.h"
#include "dpctl_sycl_type_casters.hpp"
#include "dpctl_utils_helper.h"
#include <gtest/gtest.h>

#include <stddef.h>

#include <gtest/gtest.h>
#include <sycl/sycl.hpp>
#include <utility>

Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_device_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
#include "dpctl_sycl_platform_interface.h"
#include "dpctl_utils.h"
#include "dpctl_utils_helper.h"
#include <gtest/gtest.h>

#include <stddef.h>

#include <gtest/gtest.h>
#include <sycl/sycl.hpp>

using namespace sycl;
Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_device_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
#include "dpctl_sycl_device_selector_interface.h"
#include "dpctl_utils.h"
#include "dpctl_utils_helper.h"
#include <gtest/gtest.h>

#include <stddef.h>

#include <gtest/gtest.h>
#include <string>

using dpctl::syclinterface::dpctl_default_selector;
Expand Down
5 changes: 3 additions & 2 deletions libsyclinterface/tests/test_sycl_device_subdevices.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

//===--- test_sycl_device_interface.cpp - Test cases for device interface ===//
//
// Data Parallel Control (dpCtl)
Expand Down Expand Up @@ -32,8 +31,10 @@
#include "dpctl_sycl_type_casters.hpp"
#include "dpctl_utils.h"
#include "dpctl_utils_helper.h"
#include <gtest/gtest.h>

#include <stddef.h>

#include <gtest/gtest.h>
#include <sycl/sycl.hpp>

using namespace sycl;
Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_kernel_bundle_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@
#include "dpctl_sycl_kernel_bundle_interface.h"
#include "dpctl_sycl_kernel_interface.h"
#include "dpctl_sycl_queue_interface.h"

#include <stddef.h>

#include <array>
#include <filesystem>
#include <fstream>
#include <gtest/gtest.h>
#include <stddef.h>
#include <sycl/sycl.hpp>

using namespace sycl;
Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_kernel_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
#include "dpctl_sycl_kernel_interface.h"
#include "dpctl_sycl_queue_interface.h"
#include "dpctl_utils.h"

#include <stddef.h>

#include <array>
#include <gtest/gtest.h>
#include <stddef.h>
#include <sycl/sycl.hpp>

using namespace sycl;
Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_queue_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
#include "dpctl_sycl_queue_interface.h"
#include "dpctl_sycl_type_casters.hpp"
#include "dpctl_sycl_usm_interface.h"
#include <gtest/gtest.h>

#include <stddef.h>

#include <gtest/gtest.h>
#include <sycl/sycl.hpp>

using namespace sycl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
#include "dpctl_sycl_queue_interface.h"
#include "dpctl_sycl_type_casters.hpp"
#include "dpctl_sycl_usm_interface.h"

#include <stddef.h>

#include <filesystem>
#include <fstream>
#include <gtest/gtest.h>
#include <stddef.h>
#include <sycl/sycl.hpp>
#include <utility>

Expand Down
4 changes: 3 additions & 1 deletion libsyclinterface/tests/test_sycl_usm_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
#include "dpctl_sycl_queue_interface.h"
#include "dpctl_sycl_type_casters.hpp"
#include "dpctl_sycl_usm_interface.h"

#include <stddef.h>

#include <cstring>
#include <gtest/gtest.h>
#include <stddef.h>
#include <sycl/sycl.hpp>

using namespace sycl;
Expand Down

0 comments on commit 5c92afe

Please sign in to comment.