Skip to main content
Log in

Mojo function

cpu_device

cpu_device() -> Device

Creates a CPU Device.

Returns:

A logical device representing CPU.

Was this page helpful?