Device Properties

This commit is contained in:
alexander-g 2021-03-12 08:32:51 +01:00
parent 50366c6658
commit f52efcef0f
5 changed files with 198 additions and 107 deletions

View file

@ -62,3 +62,11 @@ TEST(TestManager, TestMultipleSequences)
EXPECT_EQ(tensorOutput->vector(), std::vector<float>({ 0, 4, 12 }));
}
TEST(TestManager, TestDeviceProperties)
{
kp::Manager mgr;
const auto properties = mgr.getDeviceProperties();
EXPECT_GT(properties.deviceName.size(), 0);
}