Skip to content

Commit dd3f8ed

Browse files
Merge move-tensor-linalg into move_elementwise_binary_impl
2 parents e6e179e + 412328f commit dd3f8ed

File tree

20 files changed

+191
-128
lines changed

20 files changed

+191
-128
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
actions: write
3838

3939
runs-on: ${{ matrix.os }}
40-
timeout-minutes: 60
40+
timeout-minutes: 80
4141

4242
defaults:
4343
run:

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/angle.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
/// This file defines kernels for elementwise evaluation of ANGLE(x) function.
3333
//===---------------------------------------------------------------------===//
3434

35+
#pragma once
3536
#include <complex>
3637
#include <cstddef>
3738
#include <cstdint>

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/bitwise_invert.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,12 @@
4747
#include "kernels/elementwise_functions/common.hpp"
4848

4949
#include "utils/type_dispatch_building.hpp"
50-
#include "utils/type_utils.hpp"
5150

5251
namespace dpctl::tensor::kernels::bitwise_invert
5352
{
5453

5554
using dpctl::tensor::ssize_t;
5655
namespace td_ns = dpctl::tensor::type_dispatch;
57-
namespace tu_ns = dpctl::tensor::type_utils;
58-
59-
using dpctl::tensor::type_utils::vec_cast;
6056

6157
template <typename argT, typename resT>
6258
struct BitwiseInvertFunctor

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/cbrt.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
///
3131
/// \file
3232
/// This file defines kernels for elementwise evaluation of CBRT(x)
33-
/// function that compute a square root.
33+
/// function that computes a cube root.
3434
//===---------------------------------------------------------------------===//
3535

3636
#pragma once

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <algorithm>
3636
#include <cstddef>
3737
#include <cstdint>
38+
#include <iterator>
3839
#include <type_traits>
3940
#include <vector>
4041

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/exp2.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
//===---------------------------------------------------------------------===//
3434

3535
#pragma once
36+
#include <cmath>
3637
#include <complex>
3738
#include <cstddef>
3839
#include <cstdint>

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/floor.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
//===---------------------------------------------------------------------===//
3434

3535
#pragma once
36-
#include <cmath>
3736
#include <cstddef>
3837
#include <cstdint>
3938
#include <type_traits>

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/logical_not.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@
2929
//===---------------------------------------------------------------------===//
3030
///
3131
/// \file
32-
/// This file defines kernels for elementwise evaluation of ISNAN(x)
33-
/// function that tests whether a tensor element is a NaN.
32+
/// This file defines kernels for elementwise evaluation of LOGICAL_NOT(x)
33+
/// function.
3434
//===---------------------------------------------------------------------===//
3535

3636
#pragma once
3737
#include <cstddef>
38+
#include <cstdint>
3839
#include <type_traits>
3940
#include <vector>
4041

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/negative.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
//===---------------------------------------------------------------------===//
3030
///
3131
/// \file
32-
/// This file defines kernels for elementwise evaluation of POSITIVE(x)
33-
/// function that returns x.
32+
/// This file defines kernels for elementwise evaluation of NEGATIVE(x)
33+
/// function that returns -x.
3434
//===---------------------------------------------------------------------===//
3535

3636
#pragma once

dpctl_ext/tensor/libtensor/include/kernels/elementwise_functions/positive.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
///
3131
/// \file
3232
/// This file defines kernels for elementwise evaluation of POSITIVE(x)
33-
/// function that returns x.
33+
/// function that returns +x.
3434
//===---------------------------------------------------------------------===//
3535

3636
#pragma once

0 commit comments

Comments
 (0)