Skip to content

Commit 61f6756

Browse files
committed
Fix docstrings
1 parent 89482d1 commit 61f6756

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/intrinsics.jl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ module KernelIntrinsics
44
get_global_size()::@NamedTuple{x::Int32, y::Int32, z::Int32}
55
66
Return the number of global work-items specified.
7-
8-
!!! note
9-
1-based.
107
"""
118
function get_global_size end
129

1310
"""
1411
get_global_id()::@NamedTuple{x::Int32, y::Int32, z::Int32}
1512
1613
Returns the unique global work-item ID.
14+
15+
!!! note
16+
1-based.
1717
"""
1818
function get_global_id end
1919

@@ -28,6 +28,9 @@ function get_local_size end
2828
get_local_id()::@NamedTuple{x::Int32, y::Int32, z::Int32}
2929
3030
Returns the unique local work-item ID.
31+
32+
!!! note
33+
1-based.
3134
"""
3235
function get_local_id end
3336

@@ -42,6 +45,9 @@ function get_num_groups end
4245
get_group_id()::@NamedTuple{x::Int32, y::Int32, z::Int32}
4346
4447
Returns the unique group ID.
48+
49+
!!! note
50+
1-based.
4551
"""
4652
function get_group_id end
4753

0 commit comments

Comments
 (0)