From 456837fa5b782825aa91ffb1c08dab5892240535 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 11 Sep 2024 11:54:00 +0200 Subject: More device info --- modules/remote-hip/c++/remote.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/remote-hip/c++/remote.hpp b/modules/remote-hip/c++/remote.hpp index 2c37b41..38ecd89 100644 --- a/modules/remote-hip/c++/remote.hpp +++ b/modules/remote-hip/c++/remote.hpp @@ -78,6 +78,7 @@ public: hipGetDeviceProperties(&props, i); sstr << "Name: " << props.name << '\n'; + sstr << "totalGlobalMem: "<< static_cast(props.totalGlobalMem / (1024.0 * 1024.0 * 1024.0) ) << "GiB\n"; /* sstr << "totalGlobalMem: " << props.totalGlobalMem << " GiB\n"; sstr << "sharedMemPerBlock: " << props.sharedMemPerBlock << " KiB\n"; -- cgit v1.2.3