summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-03 23:16:09 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-08 00:12:07 +0100
commiteef48c36012180d20001def874864607e15968b8 (patch)
tree59c45a1579dc5dbf2ddd03f7a363df2f5e30647f /src/wx
parent2b3a495f31d3f9de57e6bbe2605843e6f1efbe3a (diff)
Avoid temporary file for listing GPUs.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/grok/gpu_config_panel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/grok/gpu_config_panel.h b/src/wx/grok/gpu_config_panel.h
index 6b8a4f150..b61bccbde 100644
--- a/src/wx/grok/gpu_config_panel.h
+++ b/src/wx/grok/gpu_config_panel.h
@@ -45,9 +45,8 @@ public:
{
auto grok = Config::instance()->grok();
auto lister_binary = grok.binary_location / "gpu_lister";
- auto lister_file = grok.binary_location / "gpus.txt";
if (boost::filesystem::exists(lister_binary)) {
- auto gpu_names = get_gpu_names(lister_binary, lister_file);
+ auto gpu_names = get_gpu_names(lister_binary);
_combo_box->Clear();
for (auto const& name: gpu_names) {