File tree Expand file tree Collapse file tree 5 files changed +14
-13
lines changed Expand file tree Collapse file tree 5 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
1
name = " GPUArrays"
2
2
uuid = " 0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
3
- version = " 8.4.2 "
3
+ version = " 8.4.3 "
4
4
5
5
[deps ]
6
6
Adapt = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -15,7 +15,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
15
15
16
16
[compat ]
17
17
Adapt = " 2.0, 3.0"
18
- GPUArraysCore = " = 0.1.1 "
18
+ GPUArraysCore = " = 0.1.2 "
19
19
LLVM = " 3.9, 4"
20
20
Reexport = " 1"
21
21
julia = " 1.6"
Original file line number Diff line number Diff line change 1
1
name = " GPUArraysCore"
2
2
uuid = " 46192b85-c4d5-4398-a991-12ede77f4527"
3
3
authors = [" Tim Besard <tim.besard@gmail.com>" ]
4
- version = " 0.1.1 "
4
+ version = " 0.1.2 "
5
5
6
6
[deps ]
7
7
Adapt = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Original file line number Diff line number Diff line change @@ -111,5 +111,13 @@ macro allowscalar(ex)
111
111
end
112
112
end
113
113
114
+ """
115
+ backend(T::Type)
116
+ backend(x)
117
+
118
+ Gets the GPUArrays back-end responsible for managing arrays of type `T`.
119
+ """
120
+ backend (:: Type ) = error (" This object is not a GPU array" ) # COV_EXCL_LINE
121
+ backend (x) = backend (typeof (x))
114
122
115
123
end # module GPUArraysCore
Original file line number Diff line number Diff line change 1
1
name = " JLArrays"
2
2
uuid = " 27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb"
3
3
authors = [" Tim Besard <tim.besard@gmail.com>" ]
4
- version = " 0.1.0 "
4
+ version = " 0.1.1 "
5
5
6
6
[deps ]
7
7
Adapt = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -10,5 +10,5 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
10
10
11
11
[compat ]
12
12
Adapt = " 2.0, 3.0"
13
- GPUArrays = " 8.4.1"
13
+ GPUArrays = " ~ 8.4.1"
14
14
julia = " 1.6"
Original file line number Diff line number Diff line change @@ -6,14 +6,7 @@ abstract type AbstractGPUBackend end
6
6
7
7
abstract type AbstractKernelContext end
8
8
9
- """
10
- backend(T::Type)
11
- backend(x)
12
-
13
- Gets the GPUArrays back-end responsible for managing arrays of type `T`.
14
- """
15
- backend (:: Type ) = error (" This object is not a GPU array" ) # COV_EXCL_LINE
16
- backend (x) = backend (typeof (x))
9
+ import GPUArraysCore: backend
17
10
18
11
"""
19
12
gpu_call(kernel::Function, arg0, args...; kwargs...)
You can’t perform that action at this time.
0 commit comments