We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fb525 commit 1f02c3cCopy full SHA for 1f02c3c
src/mpi/mpi_caf.c
@@ -49,11 +49,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
49
50
51
#ifdef GCC_GE_7
52
+/* This data structure is owned by the library and is treated
53
+ as a black box by the compiler.
54
+*/
55
typedef struct mpi_caf_token_t
-{
- void *local_memptr;
- MPI_Win memptr;
56
- MPI_Win *desc;
+{
57
+ void *local_memptr; /* local data. not stored by the compiler -- useful for freeing the memory in deregister */
58
+ MPI_Win memptr; /* holds the data -- used to be the token returned by register (which now returns nothing) */
59
+ MPI_Win *desc; /* useful for checking dimensions, etc. */
60
} mpi_caf_token_t;
61
#define TOKEN(X) &(((mpi_caf_token_t *) (X))->memptr)
62
#else
0 commit comments