Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement feature sort() #310

Closed
wants to merge 23 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
02aae24
implemented parallel sort step 1 - 4
TheSlimvReal May 15, 2019
1aac9d3
rewrote steps the work with multidimensional sorting
TheSlimvReal May 15, 2019
f37956b
fixed typo
TheSlimvReal May 28, 2019
fae549c
Merge remote-tracking branch 'origin/master' into feature/144-sort
Jun 4, 2019
7fc0bb2
added sort to the list of available functions
Jun 5, 2019
2b815d8
Calculating the number of elements each process at every position get…
Jun 14, 2019
4030950
added todo for next steps
Jun 18, 2019
923aaec
Values are distributed to the correct process, now the processes need…
Jun 18, 2019
2581ca9
redistributing values works, cases where most values are at the begin…
Jun 18, 2019
05fbf88
descending works too
Jun 21, 2019
e24779d
working on special treatment for empty local data
Jun 21, 2019
90969a7
Implemented MPI.IN_PLACE for gather_like operations
Jun 21, 2019
86c540f
Merge branch 'bugfix/MPI_IN_PLACE' into feature/144-sort
Jun 21, 2019
f4b5476
Finished tests for sort function
Jun 24, 2019
3e66bb4
fixed the out parameter and added test for out buffer
Jun 24, 2019
41810f6
fixed a unit test
Jun 24, 2019
2f26036
indices of the elements in the original data are now returned as well
Jun 25, 2019
acb0181
removed debugging code
Jun 25, 2019
e2a2edf
split up test to check where CI runs into deadlock
Jun 25, 2019
ad89ca8
removed some tests to check if they are the reason for failure
Jun 25, 2019
c596919
re-added test to check if its failing
Jun 25, 2019
4c7de36
fixed error
Jun 25, 2019
215725f
changed test
Jun 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
changed test
  • Loading branch information
simon committed Jun 25, 2019
commit 215725f7958ae5e44a223d29c65d5395917d2922
4 changes: 2 additions & 2 deletions heat/core/tests/test_manipulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ def test_sort_7(self):
if rank == 0:
self.assertTrue(torch.equal(first, exp_axis_zero))
self.assertTrue(torch.equal(first_indices, indices_axis_zero))
# else:
# self.assertTrue(True)
else:
self.assertTrue(True)
#
# def test_sort_8(self):
# size = ht.MPI_WORLD.size
Expand Down