Access the device status directly, remove the getter
[alexxy/gromacs.git] / src / gromacs / gpu_utils / tests / device_stream_manager.cpp
index 149166920155ac1e3af8bd9a2f57b6e2d71249b2..e3db2cb19e45365b58053853df359baaf420ee22 100644 (file)
@@ -108,8 +108,7 @@ TEST_F(DeviceStreamManagerTest, CorrectStreamsAreReturnedOnNonbondedDevice)
     // that we've called, so it is not very useful.
     const bool useTiming = false;
 
-    // TODO Is it enough to only test one device?
-    for (const auto* deviceInfo : getDeviceInfos())
+    for (const auto& deviceInfo : getDeviceInfoList())
     {
         EXPECT_FALSE(deviceInfo == nullptr)
                 << "Device information should be provided for the GPU builds.";