summaryrefslogtreecommitdiff
path: root/modules/remote-hip/c++/remote.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-hip/c++/remote.hpp')
-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";