Skip to content

Commit

Permalink
Fix typo (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd authored Sep 8, 2023
1 parent 95737ff commit 7511cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ end
# Fallback
function get_device(::Val{D}, idx) where D
if D (:CUDA, :AMDGPU, :Metal)
error("Unaivailable backend: $(D). Try importing the corresponding package with `using $D`.")
error("Unavailable backend: $(D). Try importing the corresponding package with `using $D`.")
else
error("Unsupported backend: $(D). Supported backends are $(GPU_BACKENDS).")
end
Expand Down

0 comments on commit 7511cbe

Please sign in to comment.