vtkSMP.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSMP.h.in
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 #ifndef vtkSMP_h
16 #define vtkSMP_h
17 
18 /* vtkSMPTools back-end */
19 #define VTK_SMP_Sequential
20 #define VTK_SMP_BACKEND "Sequential"
21 
22 // Preprocessor symbols which indicate the availability of backends.
23 #define VTK_SMP_ENABLE_OPENMP 0
24 #define VTK_SMP_ENABLE_SEQUENTIAL 1
25 #define VTK_SMP_ENABLE_STDTHREAD 1
26 #define VTK_SMP_ENABLE_TBB 0
27 
28 // Defines which indicate whether the default is a specific backend.
29 #define VTK_SMP_DEFAULT_IMPLEMENTATION_OPENMP 0
30 #define VTK_SMP_DEFAULT_IMPLEMENTATION_SEQUENTIAL 1
31 #define VTK_SMP_DEFAULT_IMPLEMENTATION_STDTHREAD 0
32 #define VTK_SMP_DEFAULT_IMPLEMENTATION_TBB 0
33 
34 #endif