From 8b1e973bb107c4a13e43bd153883a7c237226e13 Mon Sep 17 00:00:00 2001 From: Christian Guinard Date: Wed, 23 Aug 2023 11:34:15 -0300 Subject: [PATCH] Show METAL_CAPTURE_ENABLED in versioninfo when the variable is set (#248) --- src/utilities.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities.jl b/src/utilities.jl index ea3a77b84..e3337ce58 100644 --- a/src/utilities.jl +++ b/src/utilities.jl @@ -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