-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interface for DPPY interoperability (#788)
* added partition interface to DNDarray * added 'locals' key to partition interface * renamed locals to lcls to avoid global name * corrected format of locals * renamed dunder class attr of DNDarray to __partitioned__ * corrected split=0 case, corrected DNDarray property to be 'partitioned' * DNDarray.__partitioned__ -> __partitions_dict__, DNDarray.partitioned -> __partitioned__ * added tests for partitioned attribute * minor changes to test cases to check that things after the resplit are taken care of * split=None tests * changelog update * added 'get' attributed to __partitioned__ to get a tile from a DNDarray * reduced level of abstraction for __partitioned__['get'] * adding from_partitioned; aligning __partitioned__ with current spec * updating from_partitioned function * added nonzero split support to from partition dictionary, added tests, added factory function for building a dndarry from a partition dictionary * Ensure is None when virtually resplitting to None on 1 process --------- Co-authored-by: Frank Schlimbach <[email protected]> Co-authored-by: Claudia Comito <[email protected]> Co-authored-by: Claudia Comito <[email protected]>
- Loading branch information
1 parent
e5e8a96
commit bcea48a
Showing
5 changed files
with
352 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.