| 44 | } |
| 45 | |
| 46 | CnMemPool::CnMemPool(int numDevices, size_t init_size, size_t max_size) { |
| 47 | for (int i = 0; i < numDevices; i++) conf_.add_device(i); |
| 48 | conf_.set_init_size(init_size); |
| 49 | conf_.set_max_size(max_size); |
| 50 | } |
| 51 | |
| 52 | CnMemPool::CnMemPool(const MemPoolConf &conf) { conf_ = conf; } |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected