1
1
module KernelIntrinsics
2
2
3
3
"""
4
- get_global_size()::@NamedTuple{x::Int32 , y::Int32 , z::Int32 }
4
+ get_global_size()::@NamedTuple{x::Int , y::Int , z::Int }
5
5
6
6
Return the number of global work-items specified.
7
7
"""
8
8
function get_global_size end
9
9
10
10
"""
11
- get_global_id()::@NamedTuple{x::Int32 , y::Int32 , z::Int32 }
11
+ get_global_id()::@NamedTuple{x::Int , y::Int , z::Int }
12
12
13
13
Returns the unique global work-item ID.
14
14
@@ -18,14 +18,14 @@ Returns the unique global work-item ID.
18
18
function get_global_id end
19
19
20
20
"""
21
- get_local_size()::@NamedTuple{x::Int32 , y::Int32 , z::Int32 }
21
+ get_local_size()::@NamedTuple{x::Int , y::Int , z::Int }
22
22
23
23
Return the number of local work-items specified.
24
24
"""
25
25
function get_local_size end
26
26
27
27
"""
28
- get_local_id()::@NamedTuple{x::Int32 , y::Int32 , z::Int32 }
28
+ get_local_id()::@NamedTuple{x::Int , y::Int , z::Int }
29
29
30
30
Returns the unique local work-item ID.
31
31
@@ -35,14 +35,14 @@ Returns the unique local work-item ID.
35
35
function get_local_id end
36
36
37
37
"""
38
- get_num_groups()::@NamedTuple{x::Int32 , y::Int32 , z::Int32 }
38
+ get_num_groups()::@NamedTuple{x::Int , y::Int , z::Int }
39
39
40
40
Returns the number of groups.
41
41
"""
42
42
function get_num_groups end
43
43
44
44
"""
45
- get_group_id()::@NamedTuple{x::Int32 , y::Int32 , z::Int32 }
45
+ get_group_id()::@NamedTuple{x::Int , y::Int , z::Int }
46
46
47
47
Returns the unique group ID.
48
48
0 commit comments