Skip to content

Commit

Permalink
Show METAL_CAPTURE_ENABLED in versioninfo when the variable is set (#248
Browse files Browse the repository at this point in the history
)
  • Loading branch information
christiangnrd authored Aug 23, 2023
1 parent ec2de3e commit 8b1e973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function versioninfo(io::IO=stdout)
end
println(io)

env = filter(var->startswith(var, "JULIA_METAL") || startswith(var, "MTL"), keys(ENV))
env = filter(var->startswith(var, "JULIA_METAL") || startswith(var, "MTL") || startswith(var, "METAL"), keys(ENV))
if !isempty(env)
println(io, "Environment:")
for var in env
Expand Down

0 comments on commit 8b1e973

Please sign in to comment.