summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-09-11 11:57:27 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-09-11 11:57:27 +0200
commit9c8f45cba18d284bcc8a5be10c43fe981e1a2cbc (patch)
tree229fe00fae2fd98756d2ac8a4f3800ab7efc9414
parent456837fa5b782825aa91ffb1c08dab5892240535 (diff)
Print more info
-rw-r--r--modules/remote-hip/c++/remote.hpp4
1 files changed, 3 insertions, 1 deletions
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<double>(props.totalGlobalMem / (1024.0 * 1024.0 * 1024.0) ) << "GiB\n";
+ sstr << "totalGlobalMem: "<< static_cast<double>(props.totalGlobalMem / (1024.0 * 1024.0 * 1024.0) ) << " GiB\n";
+ sstr << "sharedMemPerBlock: "<< static_cast<double>(props.sharedMemPerBlock / (1024.0) ) << " KiB\n";
+ sstr << "clockRate: " << static_cast<double>(props.clockRate / 1000.0) << " Mhz\n";
/*
sstr << "totalGlobalMem: " << props.totalGlobalMem << " GiB\n";
sstr << "sharedMemPerBlock: " << props.sharedMemPerBlock << " KiB\n";