Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
aec4350
remove entire tensor submodule and modify cmake accordingly
ndgrigorian Nov 19, 2025
10f7ae2
remove benchmarks
ndgrigorian Nov 19, 2025
43c5dd5
remove tensor from dpctl cmake
ndgrigorian Nov 19, 2025
d11f0c0
remove array API workflow
ndgrigorian Nov 19, 2025
596f800
remove tensor from linting and gitignore
ndgrigorian Nov 19, 2025
d67be02
remove tensor from coverage testing
ndgrigorian Nov 19, 2025
81848cf
remove tensor-related options from dpctl module call
ndgrigorian Jan 14, 2026
7c811b0
remove skip_if_dtype_not_supported test utility
ndgrigorian Jan 27, 2026
634394d
remove references to dpctl.tensor in docstrings
ndgrigorian Jan 27, 2026
1316c75
Update dpctl tests to remove dpctl.tensor
ndgrigorian Jan 27, 2026
454ba1d
remove _compute_follows_data.pyx as it is no longer applicable to the…
ndgrigorian Jan 29, 2026
8b54735
remove cython/usm_memory example
ndgrigorian Jan 29, 2026
f786531
remove solver from onemkl example
ndgrigorian Jan 29, 2026
576be4a
remove python/sycl_timer example
ndgrigorian Jan 29, 2026
159bf61
Update gemv example to remove calls to dpctl.tensor
ndgrigorian Feb 2, 2026
f8cd405
Update dpctl sycl kernel example
ndgrigorian Feb 2, 2026
5e2cd14
Update tests for external USM allocation example
ndgrigorian Feb 2, 2026
32f5197
remove test for tensor includes
ndgrigorian Feb 2, 2026
03c8f91
Remove reference to dpctl.tensor from SyclTimer docstring
ndgrigorian Feb 2, 2026
49352f9
remove compute_follows_data imports from dpctl.utils __init__
ndgrigorian Feb 5, 2026
1aec97d
rewrite C extension test
ndgrigorian Feb 5, 2026
f26d887
remove missed reference to tensor in SyclTimer docstring
ndgrigorian Feb 17, 2026
c3216ec
remove remaining documentation referencing dpctl.tensor
ndgrigorian Feb 17, 2026
408a03f
add tensor removal to changelog
ndgrigorian Apr 11, 2026
dd74214
address review feedback
ndgrigorian Apr 13, 2026
e4b1415
update flake8 to remove deleted files from per-file-ignores
ndgrigorian Apr 13, 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
Prev Previous commit
Next Next commit
remove skip_if_dtype_not_supported test utility
  • Loading branch information
ndgrigorian committed Apr 13, 2026
commit 7c811b083385d1fe8d2f0ac7006bdbe0a3b50001
2 changes: 0 additions & 2 deletions dpctl/tests/helper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
has_cpu,
has_gpu,
has_sycl_platforms,
skip_if_dtype_not_supported,
)

__all__ = [
Expand All @@ -31,5 +30,4 @@
"has_gpu",
"has_sycl_platforms",
"get_queue_or_skip",
"skip_if_dtype_not_supported",
]
27 changes: 0 additions & 27 deletions dpctl/tests/helper/_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,3 @@ def get_queue_or_skip(args=tuple()):
except dpctl.SyclQueueCreationError:
pytest.skip(f"Queue could not be created from {args}")
return q


def skip_if_dtype_not_supported(dt, q_or_dev):
import dpctl.tensor as dpt

dt = dpt.dtype(dt)
if type(q_or_dev) is dpctl.SyclQueue:
dev = q_or_dev.sycl_device
elif type(q_or_dev) is dpctl.SyclDevice:
dev = q_or_dev
else:
raise TypeError(
"Expected dpctl.SyclQueue or dpctl.SyclDevice, "
f"got {type(q_or_dev)}"
)
dev_has_dp = dev.has_aspect_fp64
if dev_has_dp is False and dt in [dpt.float64, dpt.complex128]:
pytest.skip(
f"{dev.name} does not support double precision floating point types"
)
dev_has_hp = dev.has_aspect_fp16
if dev_has_hp is False and dt in [
dpt.float16,
]:
pytest.skip(
f"{dev.name} does not support half precision floating point type"
)