Skip to content

Conversation

@PokhodenkoSA
Copy link
Contributor

@PokhodenkoSA PokhodenkoSA commented Nov 24, 2021

* Fixes #649

```

In [1]: import dpctl.tensor as dpt, itertools

In [2]: a = dpt.usm_ndarray((2,3))

In [3]: for i,j in itertools.product(range(2), range(3)): a[i, j] = i*3 + j

In [4]: dpt.to_numpy(a)[1:].T
Out[4]:
array([[3.],
       [4.],
       [5.]])

In [5]: dpt.to_numpy(a[1:].T)
Out[5]:
array([[3.],
       [4.],
       [5.]])

```

* Fixed issues with `.real` and `.imag` of usm_ndarray

These were similar to those reported in #649

* Added tests for T, real, imag methods of the object inspired by #649
@PokhodenkoSA
Copy link
Contributor Author

PokhodenkoSA commented Nov 24, 2021

Pushed tag 0.11.2dev0.

oleksandr-pavlyk and others added 2 commits November 24, 2021 10:20
Expanded entry about #653
* Enable device_context support numba-dppy offloading
* Update dpctl/_sycl_queue_manager.pyx
* Add nested_context_factories registry
* Add tests for registering nested context factory
* Add docs for registering nested contexts
* Update CHANGELOG
* Use `[Unreleased]` in CHANGELOG
* More rainy day tests
* Use CPU for tests

Co-authored-by: Oleksandr Pavlyk <[email protected]>
@PokhodenkoSA
Copy link
Contributor Author

Pushed tag 0.11.2rc1

@PokhodenkoSA
Copy link
Contributor Author

PokhodenkoSA commented Nov 25, 2021

Merged to gold/2021

@PokhodenkoSA PokhodenkoSA merged commit 8f21b44 into release0.11 Nov 29, 2021
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