Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
d4fd805
Rename folder dpctl to dpctl_ext
vlad-perevezentsev Feb 2, 2026
c040713
Add simplify_iteration_space implementation to libtensor
vlad-perevezentsev Feb 5, 2026
14b466f
Extend codespell ignore list for libtensor
vlad-perevezentsev Feb 5, 2026
dcc421b
Add copy_and_cast kernels to libtensor
vlad-perevezentsev Feb 5, 2026
5a9c14c
Add copy_usm_ndarray_into_usm_ndarray implementation
vlad-perevezentsev Feb 5, 2026
4f63340
Add pybind11 bindings for dpctl_ext.tensor._tensor_impl
vlad-perevezentsev Feb 5, 2026
634579c
Add CMake build files for dpctl_ext
vlad-perevezentsev Feb 5, 2026
79d40f2
Add empty __init__ to dpctl_ext/
vlad-perevezentsev Feb 5, 2026
7949c17
Enable _same_logical_tensors in _tensor_impl
vlad-perevezentsev Feb 5, 2026
29d6c02
Add device_support_queries to enable default device types
vlad-perevezentsev Feb 5, 2026
936e719
Enable building and packaging of dpctl_ext
vlad-perevezentsev Feb 5, 2026
cd85f1e
Use _tensor_impl from dpctl_ext.tensor in dpnp
vlad-perevezentsev Feb 5, 2026
0c6780a
Move put() and take() to dpctl_ext/tensor
vlad-perevezentsev Feb 5, 2026
87e5482
Use put/take from dpctl_ext.tensor in dpnp
vlad-perevezentsev Feb 5, 2026
b537f30
Move full() to dpctl_ext/tensor
vlad-perevezentsev Feb 5, 2026
d50f263
Use full and _full_usm_ndarray from dpctl_ext in dpnp
vlad-perevezentsev Feb 6, 2026
f189dc5
Update .gitignore to ignore .so files in dpctl_ext
vlad-perevezentsev Feb 6, 2026
f9a1817
Move _zeros_usm_ndarray to dpctl_ext
vlad-perevezentsev Feb 6, 2026
4b8505a
Use _zeros_usm_ndarray from dpctl_ext in dpnp_fill.py
vlad-perevezentsev Feb 6, 2026
61106b2
Move linear-sequence implementations to dpctl_ext/tensor
vlad-perevezentsev Feb 6, 2026
a030579
Use _tensor_impl from dpctl_ext in dpnp_utils_fft.py
vlad-perevezentsev Feb 6, 2026
a1d6fa3
Move tril()/triu() to dpctl_ext/tensor
vlad-perevezentsev Feb 6, 2026
f1d6e56
Use tril/triu/_tril from dpctl_ext.tensor in dpnp
vlad-perevezentsev Feb 6, 2026
6680790
Disable pylint no-name-in-module for dpctl_ext
vlad-perevezentsev Feb 9, 2026
263b717
Add TODO comments
vlad-perevezentsev Feb 12, 2026
4130c1b
Use default_device_complex_type from dpctl_ext on test_array_api_info.py
vlad-perevezentsev Feb 12, 2026
17ca9ab
Remove unused build_dpctl_ext function
vlad-perevezentsev Feb 12, 2026
79cb2a4
Apply remarks for CMake files
vlad-perevezentsev Feb 12, 2026
4bf080e
Apply remarks for c++ files
vlad-perevezentsev Feb 12, 2026
cfa6cd6
Remove linear-sequence implementations
vlad-perevezentsev Feb 16, 2026
e0e50ac
Merge move_tensor_impl_ext into move_tensor_impl_ext_part_2
vlad-perevezentsev Feb 16, 2026
087a2ec
Use _tensor_impl from dpctl_ext in dpnp
vlad-perevezentsev Feb 16, 2026
f4492fb
Add missing include
vlad-perevezentsev Feb 16, 2026
b367c9f
Use nested namespace syntax
vlad-perevezentsev Feb 16, 2026
3113716
Add missing include complex
vlad-perevezentsev Feb 17, 2026
978afee
Add missing memory and queue checks
vlad-perevezentsev Feb 17, 2026
fec84ec
Move ti._copy_numpy_ndarray_into_usm_ndarray()
vlad-perevezentsev Feb 17, 2026
497e810
Move asnumpy(),from_numpy(), to_numpy() to dpctl_ext/tensor
vlad-perevezentsev Feb 17, 2026
3be4e14
Update dpnp.asnumpy to use dpctl_ext functions
vlad-perevezentsev Feb 17, 2026
1d88365
Move copy(), astype() to dpctl_ext/tensor
vlad-perevezentsev Feb 17, 2026
fd18db0
reuse astype(), copy() from dpctl_ext
vlad-perevezentsev Feb 17, 2026
0976171
Move _copy_usm_ndarray_for_reshape
vlad-perevezentsev Feb 17, 2026
318692e
Move reshape() to dpctl_ext/tensor
vlad-perevezentsev Feb 17, 2026
3c0c113
Reuse reshape from dpctl_ext in dpnp
vlad-perevezentsev Feb 17, 2026
30f2c53
Move _copy_usm_ndarray_for_roll
vlad-perevezentsev Feb 17, 2026
85c29da
Move roll() to dpctl_ext/tensor
vlad-perevezentsev Feb 17, 2026
6e8d857
Update dpnp.roll to use dpctl_ext
vlad-perevezentsev Feb 17, 2026
19e93b9
Update .gitignore to ignore .so files in dpctl_ext
vlad-perevezentsev Feb 18, 2026
b111e49
Remove unused includes in tensor_ctors.cpp
vlad-perevezentsev Feb 18, 2026
c082224
Use Python::Module for dpctl_ext static lib to avoid libpython depend…
vlad-perevezentsev Feb 18, 2026
9e7deb3
Merge move_tensor_impl_ext into move_tensor_impl_ext_part_2
vlad-perevezentsev Feb 18, 2026
1a736f7
Merge include-dpctl-tensor into move_tensor_impl_ext_part_2
vlad-perevezentsev Feb 19, 2026
8bde614
Merge move_tensor_impl_ext_part_2 into move_tensor_impl_copy
vlad-perevezentsev Feb 19, 2026
8819c8a
Merge include-dpctl-tensor into move_tensor_impl_copy
vlad-perevezentsev Feb 24, 2026
d6da913
Use import from dpctl_ext in _reshape.py
vlad-perevezentsev Feb 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dpctl_ext/tensor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ set(_tensor_impl_sources
# ${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/accumulators.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_and_cast_usm_to_usm.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_as_contig.cpp
# ${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp
# ${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_for_reshape.cpp
# ${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_for_roll.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_for_reshape.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_for_roll.cpp
# ${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/linear_sequences.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/integer_advanced_indexing.cpp
# ${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/boolean_advanced_indexing.cpp
Expand Down
18 changes: 18 additions & 0 deletions dpctl_ext/tensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
# *****************************************************************************


from dpctl_ext.tensor._copy_utils import (
asnumpy,
astype,
copy,
from_numpy,
to_numpy,
)
from dpctl_ext.tensor._ctors import (
full,
tril,
Expand All @@ -36,11 +43,22 @@
put,
take,
)
from dpctl_ext.tensor._manipulation_functions import (
roll,
)
from dpctl_ext.tensor._reshape import reshape

__all__ = [
"asnumpy",
"astype",
"copy",
"from_numpy",
"full",
"put",
"reshape",
"roll",
"take",
"to_numpy",
"tril",
"triu",
]
Loading
Loading