You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidDevicePool::initialize_device(IDevice* dev) const {
detail::ClearProfilerControlBuffer(dev);
// Create system memory writer for this device to have an associated interface to hardware command queue (i.e.// hugepage). Need to do this before FW init so we know what dispatch cores to reset.if (this->using_fast_dispatch) {
detail::DispatchStateCheck(true);
dev->init_command_queue_host();
} else {
detail::DispatchStateCheck(false);
TT_ASSERT(dev->num_hw_cqs() == 1, "num_hw_cqs must be 1 in slow dispatch");
}
ClearNocData(dev);
DprintServerAttach(dev);
watcher_init(dev);
// TODO: as optimization, investigate removing all this call for already initialized devivcesif (!llrt::RunTimeOptions::get_instance().get_skip_reset_cores_on_init()) {
dev->reset_cores();
}
dev->initialize_and_launch_firmware();
watcher_attach(dev);
// Set up HW command queues on device for FDif (this->using_fast_dispatch) {
dev->init_command_queue_device();
}
}
These APIs are used by DevicePool only. They are critical to init a device.
The text was updated successfully, but these errors were encountered: