error in ParallelDirectIntroSort #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/pasmp#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
error in ParallelDirectIntroSort
demo
http://pastebin.com/x9U22C8K
on small N all Ok; On N=10000 error (some values dublicate)
Fixed ParallelDirectIntroSort.
ParallelDirectMergeSort demo test failed!
In your pastebin code I see
GlobalPasMP.Invoke(GlobalPasMP.ParallelDirectMergeSort(@DataArray[0],0,N-1,SizeOf(longint),CompareInteger,16,8)); // <= Invoke = Run+Wait+Release into a single callwhich must be alsoGlobalPasMP.Invoke(GlobalPasMP.ParallelDirectMergeSort(@DataArray[0],0,N-1,SizeOf(TSimpleVal),CompareSimpleVal,16,8));then it works, at least at me, see: https://youtu.be/VlknV2WYOTUYes!
Sorry, this is my problem :-(
All 'Ok'. Thanks.