Skip to content

Conversation

oleksandr-pavlyk
Copy link
Contributor

Adds implementation of dpctl.tensor.arange per array API spec.

Also adds a kernel to be later used for implementation of linspace function of the spec.

Adds a test.

@github-actions
Copy link

@coveralls
Copy link
Collaborator

coveralls commented Apr 11, 2022

Coverage Status

Coverage decreased (-0.03%) to 81.983% when pulling 94380f6 on add-arange into 96c6741 on master.

Added kernels to populate 1D contiguous array with linear sequence
values based on starting_value and step as well as using starting and
ending values interpolated by affine transformation.

Modularized usm_type arg checking to dpctl.utils

Extended support for NumPy scalars by dpt.asarray
@oleksandr-pavlyk oleksandr-pavlyk merged commit 7528ce8 into master Apr 12, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the add-arange branch April 12, 2022 03:44
@github-actions
Copy link

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants