Tmp state.

This commit is contained in:
Nicolas Patry
2023-11-10 15:35:46 +01:00
parent cc26cce23c
commit 53e8b7ee3e
14 changed files with 699 additions and 63 deletions

View File

@ -8,7 +8,7 @@ use crate::{CpuStorage, DType, Result, Shape, Storage, WithDType};
pub enum DeviceLocation {
Cpu,
Cuda { gpu_id: usize },
Metal,
Metal { gpu_id: usize },
}
#[derive(Debug, Clone)]