Overview
Parallel version of convex hull algorithm (quick hull).
Files
- convex_hull_sample.cpp
- Source code for TBB version of example.
- convex_hull_bench.cpp
- Source code for version of example that compares serial and TBB buffered and unbuffered implementations.
- convex_hull.h
- Include file for example.
- Makefile
- Makefile for building example.
Directories
- msvs
- Contains Microsoft* Visual Studio* 2005 workspace for building and running the
example (Windows* systems only).
- xcode
- Contains Xcode* IDE workspace for building and running the example (OS X*
systems only).
To Build
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 directions).
Run it with a small problem size and the desired number of threads, e.g., convex_hull_sample 500000 4.
Up to parent directory
Copyright © 2005-2014 Intel Corporation. All Rights Reserved.
Intel is a registered trademark or trademark of Intel Corporation
or its subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.