| 23 | std::shared_ptr<Device> defaultDevice = std::make_shared<CppCPU>(); |
| 24 | |
| 25 | CppCPU::CppCPU() : Device(-1, 1) { |
| 26 | lang_ = kCpp; |
| 27 | #ifdef USE_DNNL |
| 28 | ctx_.dnnl_engine = dnnl::engine(dnnl::engine::kind::cpu, 0); |
| 29 | ctx_.dnnl_stream = dnnl::stream(ctx_.dnnl_engine); |
| 30 | #endif // USE_DNNL |
| 31 | // host_ = nullptr; |
| 32 | } |
| 33 | |
| 34 | CppCPU::~CppCPU(){}; |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected