Skip to content

Commit bdab958

Browse files
authored
Update src/KernelAbstractions.jl
1 parent 195e48a commit bdab958

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
@@ -570,6 +570,7 @@ end
570570
function device!(backend::Backend, id::Int)
571571
if 0 < id <= ndevices(backend)
572572
throw(ArgumentError("Device id $id out of bounds."))
573+
end
573574
return nothing
574575
end
575576

0 commit comments

Comments
 (0)