提交 9835553a 编写于 作者: M MRXLT 提交者: GitHub

Merge pull request #470 from guru4elephant/bthread_memory_problem

fix gpu memory explosion problem when bthread is used
...@@ -27,6 +27,10 @@ namespace predictor { ...@@ -27,6 +27,10 @@ namespace predictor {
} }
#endif #endif
#ifdef WITH_GPU
#define USE_PTHREAD
#endif
#ifdef USE_PTHREAD #ifdef USE_PTHREAD
#define THREAD_T pthread_t #define THREAD_T pthread_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册