File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ using UnicodePlots
55import Term # this is required by UnicodePlots.panel
66using MLDataDevices: MLDataDevices, CUDADevice
77
8- # Define dummy method to avoid getting errors on testing using JET.jl
9- function plot_gpu_utilization_rates (:: Type{CUDADevice} , dummyargs= nothing ):: Vector{Any}
10- Any[]
11- end
12-
13- # Define dummy method to avoid getting errors on testing using JET.jl
14- function plot_gpu_memory_utilization (:: Type{CUDADevice} , dummyargs= nothing ):: Vector{Any}
15- Any[]
16- end
8+ # These function will be defined in Package extensions
9+ function plot_gpu_utilization_rates end
10+ function plot_gpu_memory_utilization end
1711
1812idle_time (info:: Sys.CPUinfo ) = Int64 (info. cpu_times!idle)
1913
Original file line number Diff line number Diff line change 1+ #=
12@testitem "JET" begin
23 using Test
34 using JET
89 JET.test_package(TerminalSystemMonitor; target_defined_modules = true)
910 end
1011end
12+ =#
You can’t perform that action at this time.
0 commit comments