Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Conditionalize code.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed May 2, 2019
1 parent 429f02b commit dcc92d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CuArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ function __init__()
CUSOLVER._dense_handle[] = C_NULL
CUSOLVER._sparse_handle[] = C_NULL
CUSPARSE._handle[] = C_NULL
CUTENSOR._handle[] = C_NULL
CURAND._generator[] = nothing
isdefined(CuArrays, :CUDNN) && (CUDNN._handle[] = C_NULL)
isdefined(CuArrays, :CUDNN) && (CUDNN._handle[] = C_NULL)
isdefined(CuArrays, :CUTENSOR) && (CUTENSOR._handle[] = C_NULL)
end
push!(CUDAnative.device!_listeners, callback)

Expand Down

0 comments on commit dcc92d3

Please sign in to comment.