Skip to content

Commit 34523b1

Browse files
Merge pull request #1414 from IntelPython/add-missing-includes-in-common-hpp
Add missing include, missing namespace definition
2 parents 9a1f205 + da3fe8a commit 34523b1

File tree

1 file changed

+4
-0
lines changed
  • dpctl/tensor/libtensor/include/kernels/elementwise_functions

1 file changed

+4
-0
lines changed

dpctl/tensor/libtensor/include/kernels/elementwise_functions/common.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#include <cstdint>
2929
#include <pybind11/pybind11.h>
3030

31+
#include "utils/offset_utils.hpp"
32+
3133
namespace dpctl
3234
{
3335
namespace tensor
@@ -37,6 +39,8 @@ namespace kernels
3739
namespace elementwise_common
3840
{
3941

42+
namespace py = pybind11;
43+
4044
/*! @brief Functor for unary function evaluation on contiguous array */
4145
template <typename argT,
4246
typename resT,

0 commit comments

Comments
 (0)