pub async fn acquire_gpu() -> Result<(Device, Queue)>Expand description
Asynchronously 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.