Log backend and device (GPU model) when initializing

This commit is contained in:
Matthew Gordon 2025-05-30 16:57:27 -03:00
parent 1b3e475318
commit 953a152c97
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ impl MvuApp<Model> for App {
}) })
.await .await
.expect("Failed to find an appropriate adapter"); .expect("Failed to find an appropriate adapter");
eprintln!("Using {}", adapter.get_info().name); info!("Using {} backend with {}", adapter.get_info().backend, adapter.get_info().name);
let (device, queue) = adapter let (device, queue) = adapter
.request_device(&wgpu::DeviceDescriptor { .request_device(&wgpu::DeviceDescriptor {