3rd-party/tbb/examples/parallel_reduce/convex_hull/readme.html
Parallel version of convex hull algorithm (quick hull).
System Requirements
For the most up to date system requirements, see the release notes.
Files
convex_hull_sample.cppSource code for parallel version of the example which uses parallel_reduce, parallel_for and concurrent_vector. convex_hull_bench.cppSource code for the version of the example that compares serial and parallel buffered and unbuffered implementations. convex_hull.hInclude file for the example. MakefileMakefile for building the example.
Directories
msvsContains Microsoft* Visual Studio* workspace for building and running the example (Windows* systems only). xcodeContains Xcode* IDE workspace for building and running the example (macOS* systems only).
For information about the minimum supported version of IDE, see release notes.
Build instructions
General build directions can be found here.
Usage
convex_hull_sample [S] [M[:N]] [-v]S is the number of points (problem size). M:N are a range of numbers of threads to be used. Use the -v option to turn on verbose output. To run a short version of this example, e.g., for use with Intel® Threading Tools: Build a debug version of the example (see the build instructions).
Run it with a small problem size and the desired number of threads, e.g., convex_hull_sample 4 500000.
Legal Information
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
* Other names and brands may be claimed as the property of others.
© 2020, Intel Corporation