Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
caffe2
utils
threadpool
pthreadpool_impl.h
1
#ifndef CAFFE2_UTILS_PTHREADPOOL_IMPL_H_
2
#define CAFFE2_UTILS_PTHREADPOOL_IMPL_H_
3
4
#include "ThreadPoolCommon.h"
5
6
7
namespace
caffe2
{
8
9
class
ThreadPool;
10
11
}
// namespace caffe2
12
13
extern
"C"
{
14
15
// Wrapper for the caffe2 threadpool for the usage of NNPACK
16
struct
pthreadpool
{
17
pthreadpool
(
caffe2::ThreadPool
* pool) : pool_(pool) {}
18
caffe2::ThreadPool
* pool_;
19
};
20
21
}
// extern "C"
22
23
#endif // CAFFE2_UTILS_PTHREADPOOL_IMPL_H_
pthreadpool
Definition:
pthreadpool_impl.h:16
caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition:
convert_encoded_to_raw_leveldb.cc:47
caffe2::ThreadPool
Definition:
ThreadPool.h:28
Generated on Thu Apr 19 2018 13:03:57 for Caffe2 - C++ API by
1.8.11