Skip to content

Commit

Permalink
Update src/KernelAbstractions.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Jan 13, 2025
1 parent 195e48a commit bdab958
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/KernelAbstractions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ end
function device!(backend::Backend, id::Int)
if 0 < id <= ndevices(backend)
throw(ArgumentError("Device id $id out of bounds."))
end
return nothing
end

Expand Down

0 comments on commit bdab958

Please sign in to comment.