Skip to content

Conversation

@DavidGrunheidt
Copy link

@DavidGrunheidt DavidGrunheidt commented Jun 19, 2019

New version of Integer Sort implementation on MPPA-256 using the Asynchronous Communications Library, provided by Kalray. Now we have a segment of minibuckets, were each cluster have it's own space inside it. In reality, it's a segment of integers, so, to communicate between I/O and Slaves, we put the elements of a minibucket inside the space that a slave has on minibuckets segment. Now all sorting in slave side is right, and I've done an optimization too. Before, it was always sorting the maximum numbers of elements allowed. Now, it's sorting a lot less elements (only what's needed plus 16, on maximum, because we need that the number of elements to be sorted mod 16 (number of threads) to be equal to 0).
OBS: There's a minimum bug on class huge, where at the end of execution we have one element (over 134217728) that isn't sorted. So, even thought this is clearly a logic bug, this doesn't affect the execution time and we can use the solution to obtain the desired time data (it executes just fine). Also, all other classes work just fine too, with no bugs (all elements are sorted). The bug is better described in file Master/bucket.c, on line 64 and below, and it happens on line 79 (pops an element that is out of bound instead of stop).

@DavidGrunheidt DavidGrunheidt changed the base branch from master to unstable June 19, 2019 20:27
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