Mojo function
cpu
cpu() -> Device
Creates a CPU Device.
Deprecated:
use gpu.host.DeviceContext(api="cpu") instead
Returns:
A logical device representing CPU.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!