Skip to content

Commit 0791fef

Browse files
I am done with comments
1 parent bc608e5 commit 0791fef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/memspaces/memspace_highest_bandwidth.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,20 @@
1212
static bool canQueryBandwidth(size_t nodeId) {
1313
hwloc_topology_t topology = nullptr;
1414
int ret = hwloc_topology_init(&topology);
15-
// UT_ASSERTeq(ret, 0);
15+
1616
if (!GTEST_OUT_EQ(ret, 0)){
1717
return false;
1818
}
19+
1920
ret = hwloc_topology_load(topology);
20-
// UT_ASSERTeq(ret, 0);
21+
2122
if (!GTEST_OUT_EQ(ret, 0)) {
2223
return false;
2324
}
25+
2426
hwloc_obj_t numaNode =
2527
hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, nodeId);
26-
// UT_ASSERTne(numaNode, nullptr);
28+
2729
if (!GTEST_OUT_NE(numaNode, nullptr)){
2830
return false;
2931
}
@@ -45,7 +47,6 @@ static bool canQueryBandwidth(size_t nodeId) {
4547
else {
4648
return true;
4749
}
48-
//return (ret == 0);
4950
}
5051

5152
INSTANTIATE_TEST_SUITE_P(memspaceLowestLatencyTest, memspaceGetTest,

0 commit comments

Comments
 (0)