Skip to content

Commit

Permalink
Update ftorch.F90 for XPU support
Browse files Browse the repository at this point in the history
  • Loading branch information
ma595 committed Dec 20, 2024
1 parent 84a4e5d commit 4c2fc90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ftorch.F90
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ module ftorch
enum, bind(c)
enumerator :: torch_kCPU = 0
enumerator :: torch_kCUDA = 1
enumerator :: torch_kMPS = 2
enumerator :: torch_kXPU = 3
end enum

!> Interface for directing `torch_tensor_from_array` to possible input types and ranks
Expand Down

0 comments on commit 4c2fc90

Please sign in to comment.