Skip to content

novaphy.DeviceType

Compute backend type used by Device descriptors.

Member Description
CPU Host (CPU) device. Always available.
CUDA NVIDIA CUDA device. Available when NovaPhy is built with CUDA support and a compatible runtime is present.
Vulkan Vulkan device. Reserved for future GPU backends — not currently supported by any solver.
Metal Apple Metal device. Reserved for future macOS GPU backends — not currently supported by any solver.

Notes

  • Vulkan and Metal are listed for forward compatibility; selecting them today simply propagates to the underlying solver, which will fall back to the CPU backend or raise. Use CUDA for GPU work.
  • Use Device.cpu() / Device.cuda(ordinal=N) factories instead of constructing a Device by enum directly.

See Also