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
5
5
import Term # this is required by UnicodePlots.panel
6
6
using MLDataDevices: MLDataDevices, CUDADevice
7
7
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
17
11
18
12
idle_time (info:: Sys.CPUinfo ) = Int64 (info. cpu_times!idle)
19
13
Original file line number Diff line number Diff line change
1
+ #=
1
2
@testitem "JET" begin
2
3
using Test
3
4
using JET
8
9
JET.test_package(TerminalSystemMonitor; target_defined_modules = true)
9
10
end
10
11
end
12
+ =#
You can’t perform that action at this time.
0 commit comments