From 462d0d4ec6418303faf54218f9bfdeda487da76a Mon Sep 17 00:00:00 2001 From: Dale Black Date: Fri, 17 Jan 2025 16:28:13 -0800 Subject: [PATCH] try fix oneAPI device again --- benchmarks/setup.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/setup.jl b/benchmarks/setup.jl index f13fef7..d28e24b 100644 --- a/benchmarks/setup.jl +++ b/benchmarks/setup.jl @@ -21,7 +21,7 @@ function monitor_gpu_memory(backend::String, duration=0.1) elseif backend == "oneAPI" # Get the first device since that's what we're using device = oneAPI.devices()[1] - props = oneL0.memory_properties(device) + props = oneL0.memory_properties(device)[1] return (props.totalSize - props.freeSize) / (1024 * 1024) elseif backend == "AMDGPU" free, total = AMDGPU.HIP.memory_info()