1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ 2 /* 3 * Copyright (c) 2004-2005 The Trustees of Indiana University. 4 * All rights reserved. 5 * Copyright (c) 2004-2005 The Trustees of the University of Tennessee. 6 * All rights reserved. 7 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 8 * University of Stuttgart. All rights reserved. 9 * Copyright (c) 2004-2005 The Regents of the University of California. 10 * All rights reserved. 11 * Copyright (c) 2007-2014 Los Alamos National Security, LLC. All rights 12 * reserved. 13 * Copyright (c) 2010 IBM Corporation. All rights reserved. 14 * Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved. 15 * $COPYRIGHT$ 16 * 17 * Additional copyrights may follow 18 * 19 * $HEADER$ 20 */ 21 22 #if !defined(OSC_RDMA_ACTIVE_TARGET_H) 23 #define OSC_RDMA_ACTIVE_TARGET_H 24 25 #include "osc_rdma.h" 26 #include "osc_rdma_sync.h" 27 #include "osc_rdma_lock.h" 28 29 int ompi_osc_rdma_fence_atomic (int assert, struct ompi_win_t *win); 30 31 int ompi_osc_rdma_start_atomic (struct ompi_group_t *group, 32 int assert, struct ompi_win_t *win); 33 int ompi_osc_rdma_complete_atomic (struct ompi_win_t *win); 34 35 int ompi_osc_rdma_post_atomic (struct ompi_group_t *group, 36 int assert, struct ompi_win_t *win); 37 38 int ompi_osc_rdma_wait_atomic (struct ompi_win_t *win); 39 40 int ompi_osc_rdma_test_atomic (struct ompi_win_t *win, int *flag); 41 42 #endif /* OSC_RDMA_ACTIVE_TARGET_H */