Skip to main content

Mojo function

cpu_device

cpu_device() -> Device

Creates a CPU Device.

Returns:

A logical device representing CPU.