clean multi-threading macro

This commit is contained in:
volvet
2014-03-31 18:24:10 -07:00
parent cad753d871
commit 9f50e0c91e
16 changed files with 12 additions and 258 deletions

View File

@@ -51,7 +51,6 @@
//#define MT_DEBUG
//#define ENABLE_TRACE_MT
#ifdef MT_ENABLED
#define DYNAMIC_DETECT_CPU_CORES
@@ -59,21 +58,6 @@
//#define BIND_CPU_CORES_TO_THREADS // if it is not defined here mean cross cpu cores load balance automatically
//#endif//WIN32
#else
#endif//MT_ENABLED
#if !defined(MT_ENABLED)
#if defined(MT_DEBUG)
#undef MT_DEBUG
#endif//MT_DEBUG
#if defined(ENABLE_TRACE_MT)
#undef ENABLE_TRACE_MT
#endif//ENABLE_TRACE_MT
#endif//!MT_ENABLED
#define THRESHOLD_RMSE_CORE8 0.0320f // v1.1: 0.0320f; v1.0: 0.02f
#define THRESHOLD_RMSE_CORE4 0.0215f // v1.1: 0.0215f; v1.0: 0.03f
#define THRESHOLD_RMSE_CORE2 0.0200f // v1.1: 0.0200f; v1.0: 0.04f