Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Conversation

@IvanGrigorik
Copy link
Collaborator

During the revert, the complex types were reverted as well.
This PR just add them again

* ENH: add suppport for Kokkos::complex Views

* ENH: register Kokkos::complex as a numpy dtype

* ENH: bind remaining arithmetic operators for complex numbers

* ENH: read dtype properly for complex dtypes

* ENH: properly format views with complex data types

* ENH: fix issue with getting Kokkos::complex offsets when CUDA is enabled

* FIX: add back if condition checking for float64 (removed by accident)

* complex: fix comples type tests and conversion

* fix atomics

* formatting

* fix atomics comparison

* c++ formatting

* version: update kokkos version in the comment

---------

Co-authored-by: JBludau <[email protected]>
Co-authored-by: Ivan Grigorik <[email protected]>
@IvanGrigorik IvanGrigorik requested a review from JBludau November 14, 2025 17:48
@IvanGrigorik
Copy link
Collaborator Author

IvanGrigorik commented Nov 14, 2025

@JBludau can we merge it ASAP since we need to check kokkos/pykokkos#293

Need to be merged before #79

@IvanGrigorik IvanGrigorik requested a review from gliga November 16, 2025 00:02
@IvanGrigorik
Copy link
Collaborator Author

@gliga, maybe you will check it a bit faster
This PR is basically the same code from the previous PR that was reverted during an accidental commit to the main branch

@IvanGrigorik IvanGrigorik merged commit 16549eb into main Nov 16, 2025
42 checks passed
@IvanGrigorik IvanGrigorik deleted the grigorik/revert-cleanup branch November 16, 2025 00:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants