00001 /* 00002 * mic_operator.h 00003 * 00004 * Created on: 16 lis 2015 00005 * Author: pmaciol 00006 */ 00007 00008 #ifndef MOD_FEM_VIEWER_FEMVIEWER_MIC_MIC_OPERATOR_H_ 00009 #define MOD_FEM_VIEWER_FEMVIEWER_MIC_MIC_OPERATOR_H_ 00010 00011 namespace FemViewer { 00012 namespace MIC { 00013 00014 class MicOperator { 00015 public: 00016 static int initMIC(bool quiet=false); 00017 static void shutdownMIC(); 00018 00019 protected: 00020 int m_numCores; 00021 int m_targetIdCore; 00022 00023 private: 00024 MicOperator(); 00025 MicOperator(const MicOperator&); 00026 MicOperator& operator=(const MicOperator&); 00027 }; 00028 00029 } 00030 } 00031 00032 00033 00034 #endif /* MOD_FEM_VIEWER_FEMVIEWER_MIC_MIC_OPERATOR_H_ */