diff --git a/src/core/impl/comp_node/cpu/comp_node.cpp b/src/core/impl/comp_node/cpu/comp_node.cpp index 682b51d7..94e69a7b 100644 --- a/src/core/impl/comp_node/cpu/comp_node.cpp +++ b/src/core/impl/comp_node/cpu/comp_node.cpp @@ -885,7 +885,12 @@ bool CpuCompNode::CompNodeImpl::check_global_finalized(const char* reason) { } /* ======================== CompNode methods ======================== */ - +// CompNode get by default_cpu() is different from the CompNode which is +// produced by CompNode::load("cpu:default") +// default_cpu() is used for static infer and it is not allowed to send up the +// compute kernel +// CompNode::load("cpu:default") is "inplace cpu" which is in the +// CpuCompNode::Pool CompNode CompNode::default_cpu() { static Locator locator{DeviceType::CPU, Locator::DEVICE_CPU_DEFAULT, {-1}}; static auto empty_queue =