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.hpp1
1 files changed, 1 insertions, 0 deletions
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<double>(props.totalGlobalMem / (1024.0 * 1024.0 * 1024.0) ) << "GiB\n";
/*
sstr << "totalGlobalMem: " << props.totalGlobalMem << " GiB\n";
sstr << "sharedMemPerBlock: " << props.sharedMemPerBlock << " KiB\n";