Skip to content

Commit

Permalink
@require cuda ext
Browse files Browse the repository at this point in the history
  • Loading branch information
zuhengxu committed Aug 15, 2023
1 parent 0dde183 commit 1f795a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NormalizingFlows.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ function __init__()
@require Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" include(
"../ext/NormalizingFlowsZygoteExt.jl"
)
@require CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" include(
"../ext/NormalizingFlowsCUDAExt.jl"
)
end
end
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ using ADTypes, DiffResults
using ForwardDiff, Zygote, Enzyme, ReverseDiff
using Test

include("cuda.jl")
include("ad.jl")
include("objectives.jl")
include("interface.jl")

0 comments on commit 1f795a1

Please sign in to comment.