Skip to content

Commit

Permalink
Define compile_cache outside __init__() (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Jun 17, 2023
1 parent d84aea2 commit 6bfe331
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/GPUCompiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ include("reflection.jl")
include("precompile.jl")
_precompile_()



compile_cache = "" # defined in __init__()

function __init__()
STDERR_HAS_COLOR[] = get(stderr, :color, false)

Expand Down

0 comments on commit 6bfe331

Please sign in to comment.