Skip to main content

create_cpu_device

Function create_cpu_device 

Source
pub fn create_cpu_device(registry: &DeviceRegistry) -> Result<Device>
Expand description

Create a CPU device with the default backend.

The default backend is selected by:

  1. SVOD_CPU_BACKEND environment variable (“clang” or “llvm”)
  2. If not set, defaults to Clang