Skip to content

Commit

Permalink
fix: use correct DirectML device name
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Dec 23, 2024
1 parent ec24307 commit 46c3376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl AllocationDevice {
pub const CUDA_PINNED: AllocationDevice = AllocationDevice("CudaPinned");
pub const CANN: AllocationDevice = AllocationDevice("Cann");
pub const CANN_PINNED: AllocationDevice = AllocationDevice("CannPinned");
pub const DIRECTML: AllocationDevice = AllocationDevice("Dml");
pub const DIRECTML: AllocationDevice = AllocationDevice("DML");
pub const DIRECTML_CPU: AllocationDevice = AllocationDevice("DML CPU");
pub const HIP: AllocationDevice = AllocationDevice("Hip");
pub const HIP_PINNED: AllocationDevice = AllocationDevice("HipPinned");
Expand Down

0 comments on commit 46c3376

Please sign in to comment.