KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
l_std_parallel.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* {{{=========================================================================== *
3  |
4  | Copyright (c) 1994-2011 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Kyle Simek
18  * =========================================================================== }}}*/
19 
20 // vim: tabstop=4 shiftwidth=4 foldmethod=marker
21 
22 #include <algorithm>
23 #include <numeric>
24 
25 #ifndef KJB_CPP_L_STD_PARALLEL
26 
27 // need g++ 4.3 or newer
28 // need -fopenmp load flag
29 // need -D_GLIBCXX_PARALLEL compile flag
30 #ifdef KJB_USE_GNU_PARALLEL
31 namespace kjb_parallel_std = __gnu_parallel;
32 #else
33 namespace kjb_parallel_std = std;
34 #endif
35 
36 #endif