Skip to content

Commit 180c788

Browse files
committed
Update src/KernelAbstractions.jl
1 parent e1d2d9e commit 180c788

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/KernelAbstractions.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ end
610610
function device!(backend::Backend, id::Int)
611611
if 0 < id <= ndevices(backend)
612612
throw(ArgumentError("Device id $id out of bounds."))
613+
end
613614
return nothing
614615
end
615616

0 commit comments

Comments
 (0)