Skip to content

Commit 3ad1a33

Browse files
committed
remove conditional include for dpnp4pybind11.hpp
1 parent c201963 commit 3ad1a33

File tree

7 files changed

+0
-28
lines changed

7 files changed

+0
-28
lines changed

dpctl/tensor/libtensor/include/utils/memory_overlap.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@
3838

3939
#include <pybind11/pybind11.h>
4040

41-
#if __has_include(<dpnp4pybind11.hpp>)
4241
#include "dpnp4pybind11.hpp"
43-
#else
44-
#include "dpctl4pybind11.hpp"
45-
#endif
4642

4743
/* @brief check for overlap of memory regions behind arrays.
4844

dpctl/tensor/libtensor/include/utils/output_validation.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@
3737

3838
#include <pybind11/pybind11.h>
3939

40-
#if __has_include(<dpnp4pybind11.hpp>)
4140
#include "dpnp4pybind11.hpp"
42-
#else
43-
#include "dpctl4pybind11.hpp"
44-
#endif
4541

4642
namespace dpctl::tensor::validation
4743
{

dpctl/tensor/libtensor/include/utils/type_dispatch.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@
3636
#include <stdexcept>
3737
#include <string>
3838

39-
#if __has_include(<dpnp4pybind11.hpp>)
4039
#include "dpnp4pybind11.hpp"
41-
#else
42-
#include "dpctl4pybind11.hpp"
43-
#endif
4440

4541
#include "type_dispatch_building.hpp"
4642

dpnp/backend/extensions/common/ext/validation_utils.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@
3232
#include <unordered_map>
3333
#include <vector>
3434

35-
#if __has_include(<dpnp4pybind11.hpp>)
3635
#include "dpnp4pybind11.hpp"
37-
#else
38-
#include "dpctl4pybind11.hpp"
39-
#endif
4036

4137
// dpctl tensor headers
4238
#include "utils/type_dispatch.hpp"

dpnp/backend/extensions/elementwise_functions/elementwise_functions.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@
3737
#include <pybind11/pybind11.h>
3838
#include <sycl/sycl.hpp>
3939

40-
#if __has_include(<dpnp4pybind11.hpp>)
4140
#include "dpnp4pybind11.hpp"
42-
#else
43-
#include "dpctl4pybind11.hpp"
44-
#endif
4541

4642
#include "elementwise_functions_type_utils.hpp"
4743
#include "simplify_iteration_space.hpp"

dpnp/backend/extensions/elementwise_functions/elementwise_functions_type_utils.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@
2929
#include <pybind11/pybind11.h>
3030
#include <sycl/sycl.hpp>
3131

32-
#if __has_include(<dpnp4pybind11.hpp>)
3332
#include "dpnp4pybind11.hpp"
34-
#else
35-
#include "dpctl4pybind11.hpp"
36-
#endif
3733

3834
#include "elementwise_functions_type_utils.hpp"
3935

dpnp/backend/extensions/elementwise_functions/elementwise_functions_type_utils.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@
3131
#include <pybind11/numpy.h>
3232
#include <pybind11/pybind11.h>
3333

34-
#if __has_include(<dpnp4pybind11.hpp>)
3534
#include "dpnp4pybind11.hpp"
36-
#else
37-
#include "dpctl4pybind11.hpp"
38-
#endif
3935

4036
// dpctl tensor headers
4137
#include "utils/type_dispatch.hpp"

0 commit comments

Comments
 (0)