Skip to content

Commit d7ba94d

Browse files
committed
[Code] Minor tests clearing
1 parent 9264cee commit d7ba94d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

cubool/tests/test_vector_vxm.cpp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,8 @@ void testVectorMatrixMultiplyAdd(cuBool_Index m, cuBool_Index n, float density)
4545
testing::VectorMatrixMultiplyFunctor functor;
4646
testing::Vector tr = functor(tv, ta);
4747

48-
testing::TimeQuery query;
49-
50-
for (int i = 0; i < 10; i++) {
51-
testing::TimeScope scope(query);
52-
// Evaluate r = v x M
53-
ASSERT_EQ(cuBool_VxM(r, v, a, CUBOOL_HINT_NO), CUBOOL_STATUS_SUCCESS);
54-
}
55-
56-
std::cout << query.getAverageTimeMs() << " ms" << std::endl;
48+
// Evaluate r = v x M
49+
ASSERT_EQ(cuBool_VxM(r, v, a, CUBOOL_HINT_NO), CUBOOL_STATUS_SUCCESS);
5750

5851
// Compare results
5952
ASSERT_EQ(tr.areEqual(r), true);

0 commit comments

Comments
 (0)