HMSBEAGLE  1.0.0
BeagleCPUOpenMPPlugin.h
1 
8 #ifndef __BEAGLE_CPU_OPENMP_PLUGIN_H__
9 #define __BEAGLE_CPU_OPENMP_PLUGIN_H__
10 
11 #ifdef HAVE_CONFIG_H
12 #include "libhmsbeagle/config.h"
13 #endif
14 
15 #include "libhmsbeagle/platform.h"
16 #include "libhmsbeagle/plugin/Plugin.h"
17 
18 namespace beagle {
19 namespace cpu {
20 
21 /*
22  * An OpenMP plugin based on the standard CPU plugin
23  * This plugin uses all the same code as the CPU plugin, but should be built with
24  * OpenMP enabled
25  */
26 class BEAGLE_DLLEXPORT BeagleCPUOpenMPPlugin : public beagle::plugin::Plugin
27 {
28 public:
30 private:
31  BeagleCPUOpenMPPlugin( const BeagleCPUOpenMPPlugin& cp ); // disallow copy by defining this private
32 };
33 
34 } // namespace cpu
35 } // namespace beagle
36 
37 extern "C" {
38  BEAGLE_DLLEXPORT void* plugin_init(void);
39 }
40 
41 #endif // __BEAGLE_CPU_OPENMP_PLUGIN_H__
42 
43