Skip to content

Commit 5a19138

Browse files
authored
Apply suggestions from code review
1 parent bdab958 commit 5a19138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/KernelAbstractions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ function priority!(::Backend, prio::Symbol)
547547
end
548548

549549
"""
550-
device(::Backend)
550+
device(::Backend)::Int
551551
552552
Returns the ordinal number of the currently active device starting at one.
553553
"""
@@ -556,7 +556,7 @@ function device(::Backend)
556556
end
557557

558558
"""
559-
ndevices(::Backend)
559+
ndevices(::Backend)::Int
560560
561561
Returns the number of devices the backend supports.
562562
"""

0 commit comments

Comments
 (0)