From 5caa0d1cda1aa2e2a327e80962fa96bf1d2cdc05 Mon Sep 17 00:00:00 2001 From: Samuel Powell Date: Mon, 26 Aug 2024 16:02:53 -0400 Subject: [PATCH] singleToDoublePrecPerfRatio hip device property does not exist before hip 6.0.0, and is depreciated in latest hip --- examples/device/ta_dense_device.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/device/ta_dense_device.cpp b/examples/device/ta_dense_device.cpp index 4900072e8a..30333c7edc 100644 --- a/examples/device/ta_dense_device.cpp +++ b/examples/device/ta_dense_device.cpp @@ -315,9 +315,7 @@ int try_main(int argc, char **argv) { std::cout << "error(GetDeviceProperties) = " << error << std::endl; } std::cout << "Device #" << device_id << ": " << prop.name << std::endl - << " managedMemory = " << prop.managedMemory << std::endl - << " singleToDoublePrecisionPerfRatio = " - << prop.singleToDoublePrecisionPerfRatio << std::endl; + << " managedMemory = " << prop.managedMemory << std::endl; int result; error = TiledArray::device::deviceGetAttribute( &result, TiledArray::device::DevAttrUnifiedAddressing, device_id);