Skip to content

Commit 44246fb

Browse files
committed
Apply suggestions from code review
1 parent 180c788 commit 44246fb

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
@@ -587,7 +587,7 @@ function priority!(::Backend, prio::Symbol)
587587
end
588588

589589
"""
590-
device(::Backend)
590+
device(::Backend)::Int
591591
592592
Returns the ordinal number of the currently active device starting at one.
593593
"""
@@ -596,7 +596,7 @@ function device(::Backend)
596596
end
597597

598598
"""
599-
ndevices(::Backend)
599+
ndevices(::Backend)::Int
600600
601601
Returns the number of devices the backend supports.
602602
"""

0 commit comments

Comments
 (0)