Skip to content

Commit

Permalink
other: remove mem check for GPU enable check
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Nov 20, 2023
1 parent 524cf0e commit 53d4395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ pub fn build_app(
use_cpu: used_widget_set.get(&Cpu).is_some() || used_widget_set.get(&BasicCpu).is_some(),
use_mem,
use_cache: use_mem && get_enable_cache_memory(matches, config),
use_gpu: use_mem && get_enable_gpu(matches, config),
use_gpu: get_enable_gpu(matches, config),
use_net: used_widget_set.get(&Net).is_some() || used_widget_set.get(&BasicNet).is_some(),
use_proc: used_widget_set.get(&Proc).is_some(),
use_disk: used_widget_set.get(&Disk).is_some(),
Expand Down

0 comments on commit 53d4395

Please sign in to comment.