Merged
Conversation
The kernel accesses NumPy allocation using read-only buffer, hence the blocking. ``` In [1]: import dpctl.tensor as dpt In [2]: import numpy as np In [3]: X = dpt.zeros((81,81,81),'d') In [4]: %time X[:41,:41,:41] = np.random.randn(41,41,41) CPU times: user 100 ms, sys: 8.28 ms, total: 108 ms Wall time: 106 ms In [5]: %time X[:41,:41,:41] = np.random.randn(41,41,41) CPU times: user 17.8 ms, sys: 3.81 ms, total: 21.6 ms Wall time: 20 ms ``` This used to take over 30 seconds.
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/817/index.html |
Collaborator
de00930 to
11390f8
Compare
Add implementation of build_package_data method for the subclass which does not use os.chmod that does not suppot symbolic links
11390f8 to
69b8784
Compare
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added an implementation of dedicated copy-with-casting routine to copy from numpy's ndarray to usm_ndarray.
Deployed in in
_copy_utils, which automatically uses it in__setitem__.