Skip to content

Commit

Permalink
#2286: Remove warnings during perf tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Sep 30, 2024
1 parent 9e6faab commit 9bd67d1
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions tests/perf/collection_local_send.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,9 @@ struct NodeObj {

private:
std::vector<MsgSharedPtr<TestCol::ColMsg>> msgs;
HandlerType han;
MyTest* test_obj_ = nullptr;
vt::objgroup::proxy::Proxy<NodeObj> proxy_ = {};
vt::CollectionProxy<TestCol> col_proxy;
int reduce_counter_ = -1;
int i = 0;
bool preallocate_ = false;
};

Expand Down
2 changes: 0 additions & 2 deletions tests/perf/make_runnable_micro.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ struct NodeObj {
HandlerType han;
MyTest* test_obj_ = nullptr;
vt::objgroup::proxy::Proxy<NodeObj> proxy_ = {};
int reduce_counter_ = -1;
int i = 0;
};

VT_PERF_TEST(MyTest, test_make_runnable_micro) {
Expand Down
3 changes: 0 additions & 3 deletions tests/perf/objgroup_local_send.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,9 @@ struct NodeObj {

private:
std::vector<MsgSharedPtr<MyMsg>> msgs;
HandlerType han;
MyTest* test_obj_ = nullptr;
vt::objgroup::proxy::Proxy<NodeObj> proxy_ = {};
vt::objgroup::proxy::Proxy<TestObj> obj_proxy;
int reduce_counter_ = -1;
int i = 0;
};

VT_PERF_TEST(MyTest, test_objgroup_local_send) {
Expand Down
2 changes: 0 additions & 2 deletions tests/perf/ping_pong_am.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ struct NodeObj {
private:
MyTest* test_obj_ = nullptr;
vt::objgroup::proxy::Proxy<NodeObj> proxy_ = {};
int reduce_counter_ = -1;
int i = 0;
};

void handlerFinished(MyMsg* msg) {
Expand Down
4 changes: 0 additions & 4 deletions tests/perf/send_cost.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ struct SendTest : PerfTestHarness {

VT_PERF_TEST(SendTest, test_send) {
auto const thisNode = vt::theContext()->getNode();
auto const lastNode = theContext()->getNumNodes() - 1;

auto const prevNode = (thisNode - 1 + num_nodes_) % num_nodes_;
auto const nextNode = (thisNode + 1) % num_nodes_;
Expand Down Expand Up @@ -164,9 +163,6 @@ VT_PERF_TEST(SendTest, test_objgroup_send) {
grp_proxy[my_node_].invoke<&NodeObj::initialize>();

auto const thisNode = vt::theContext()->getNode();
auto const lastNode = theContext()->getNumNodes() - 1;

auto const prevNode = (thisNode - 1 + num_nodes_) % num_nodes_;
auto const nextNode = (thisNode + 1) % num_nodes_;

for (auto size : payloadSizes) {
Expand Down

0 comments on commit 9bd67d1

Please sign in to comment.