A simple parallel sort as a demonstration of how easy (and fast) this is in C++
Revision | 9974a2cf9a56756a022fe48ac3702a2a72052707 (tree) |
---|---|
Time | 2021-06-15 22:27:07 |
Author | Eric Hopper <hopper@omni...> |
Commiter | Eric Hopper |
Put copyright notices in source files.
@@ -1,3 +1,7 @@ | ||
1 | +// Copyright 2018 by Eric Hopper | |
2 | +// This program is distributed under the terms of the GPLv3 or later, see | |
3 | +// LICENSE for more details. | |
4 | + | |
1 | 5 | #include <stdlib.h> |
2 | 6 | #include <stdint.h> |
3 | 7 | #include <stdio.h> |
@@ -1,3 +1,7 @@ | ||
1 | +// Copyright 2018 by Eric Hopper | |
2 | +// This program is distributed under the terms of the GPLv3 or later, see | |
3 | +// LICENSE for more details. | |
4 | + | |
1 | 5 | #include <thread> |
2 | 6 | #include <algorithm> |
3 | 7 | #include <vector> |