Skip to content

Commit

Permalink
Fix deprecated type declaration syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored and vchuravy committed Feb 17, 2017
1 parent 41c8e27 commit 4e89eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
###############################

# Abstract CUDA array types
abstract AbstractCudaArray{T,N}
@compat abstract type AbstractCudaArray{T,N} end
@compat const AbstractCudaVector{T} = AbstractCudaArray{T,1}
@compat const AbstractCudaMatrix{T} = AbstractCudaArray{T,2}

Expand Down
2 changes: 1 addition & 1 deletion src/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# is that one Julia process can feed multiple devices, with the jobs
# running asynchronously.

abstract AbstractStream
@compat abstract type AbstractStream end

type Stream <: AbstractStream
inner::CuStream
Expand Down

0 comments on commit 4e89eb7

Please sign in to comment.