From 9c8f45cba18d284bcc8a5be10c43fe981e1a2cbc Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 11 Sep 2024 11:57:27 +0200 Subject: Print more info --- modules/remote-hip/c++/remote.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/remote-hip/c++/remote.hpp b/modules/remote-hip/c++/remote.hpp index 38ecd89..794d629 100644 --- a/modules/remote-hip/c++/remote.hpp +++ b/modules/remote-hip/c++/remote.hpp @@ -78,7 +78,9 @@ 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: "<< static_cast(props.totalGlobalMem / (1024.0 * 1024.0 * 1024.0) ) << " GiB\n"; + sstr << "sharedMemPerBlock: "<< static_cast(props.sharedMemPerBlock / (1024.0) ) << " KiB\n"; + sstr << "clockRate: " << static_cast(props.clockRate / 1000.0) << " Mhz\n"; /* sstr << "totalGlobalMem: " << props.totalGlobalMem << " GiB\n"; sstr << "sharedMemPerBlock: " << props.sharedMemPerBlock << " KiB\n"; -- cgit v1.2.3