pub fn init_device() -> Result<(Device, Queue)>Expand description
Initialize a new GPU device and queue.
§Errors
Returns an actionable GPU error if no compatible adapter is available, if the selected adapter is CPU-backed, or if device creation fails.