Skip to content

Fixes #723: slow item assignment from numpy array - #724

Merged
oleksandr-pavlyk merged 2 commits into
masterfrom
fix-slow-copy
Dec 14, 2021
Merged

oleksandr-pavlyk merged 2 commits into
masterfrom
fix-slow-copy

Conversation

@oleksandr-pavlyk

Copy link
Copy Markdown
Contributor

Restores parity in performance of two scenarios in time_copy.py script

(idp_2021.4) [13:33:21 ansatnuc04 python]$ python time_copy.py
Wall time:  0.0004440806806087494  sec.
Device time:  9.926800000000001e-05  sec.
Wall time:  0.0006928546354174614  sec.
Device time:  0.000150562  sec.

@github-actions

Copy link
Copy Markdown

Restores parity in performance of two scenarios in time_copy.py script

```
(idp_2021.4) [13:33:21 ansatnuc04 python]$ python time_copy.py
Wall time:  0.0004440806806087494  sec.
Device time:  9.926800000000001e-05  sec.
Wall time:  0.0006928546354174614  sec.
Device time:  0.000150562  sec.
```
@coveralls

coveralls commented Dec 13, 2021 •

Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage increased (+0.2%) to 81.527% when pulling cb07c38 on fix-slow-copy into b7a15ed on master.

@oleksandr-pavlyk oleksandr-pavlyk changed the title Fixes #723 Fixes #723: slow item assignment from numpy array Dec 13, 2021
@oleksandr-pavlyk
oleksandr-pavlyk merged commit 2a94235 into master Dec 14, 2021
@oleksandr-pavlyk
oleksandr-pavlyk deleted the fix-slow-copy branch December 14, 2021 12:28
@github-actions

Copy link
Copy Markdown

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.

3 participants