a standalone test for completions

Issue #124 resolved
BrianS created an issue

currently the test for rput and rget and vis and atomics are acting as secondary tests for completions.

From the material I have seen, how a completion is handled is somewhat tied up to what the operation is meant to do. but it can be deceiving when, say, vis.cpp test fails, and the error is really over in completions.hpp

This relates to what I have heard referred to as "lower triangular dependence" where fundamental features have tests, then operations that have dependence on more fundamental features get tests that can safely assume the lower API levels are complete.

but can we really test completion in isolation? Perhaps we need a gasnet ack function that just pings a remote rank and then sets the handle to complete, and we can write a test harness for upcxx on the ack.

Comments (3)

  1. Dan Bonachea

    Recently added tests test/rput-cover.cpp and test/copy-cover.cpp meet the spirit of this proposal for rput and copy, which specify all three forms of events and have the most "interesting" set of underlying implementations for the various completions.

    As mentioned in the original request, the implementation of each completion variant is often intimately tied to the communication operation itself, so this is probably the closest we will get to a "completions test".

  2. Log in to comment