Skip to content

Commit 4e89eb7

Browse files
maleadtvchuravy
authored andcommitted
Fix deprecated type declaration syntax.
Ref JuliaLang/julia#20418
1 parent 41c8e27 commit 4e89eb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/arrays.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
###############################
44

55
# Abstract CUDA array types
6-
abstract AbstractCudaArray{T,N}
6+
@compat abstract type AbstractCudaArray{T,N} end
77
@compat const AbstractCudaVector{T} = AbstractCudaArray{T,1}
88
@compat const AbstractCudaMatrix{T} = AbstractCudaArray{T,2}
99

src/stream.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# is that one Julia process can feed multiple devices, with the jobs
55
# running asynchronously.
66

7-
abstract AbstractStream
7+
@compat abstract type AbstractStream end
88

99
type Stream <: AbstractStream
1010
inner::CuStream

0 commit comments

Comments
 (0)