root/ompi/mca/pml/ob1/pml_ob1_rdma.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
   2 /*
   3  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   4  *                         University Research and Technology
   5  *                         Corporation.  All rights reserved.
   6  * Copyright (c) 2004-2005 The University of Tennessee and The University
   7  *                         of Tennessee Research Foundation.  All rights
   8  *                         reserved.
   9  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
  10  *                         University of Stuttgart.  All rights reserved.
  11  * Copyright (c) 2004-2005 The Regents of the University of California.
  12  *                         All rights reserved.
  13  * Copyright (c) 2016      Los Alamos National Security, LLC. All rights
  14  *                         reserved.
  15  * $COPYRIGHT$
  16  *
  17  * Additional copyrights may follow
  18  *
  19  * $HEADER$
  20  */
  21 /**
  22  *  @file
  23  */
  24 
  25 #ifndef MCA_PML_OB1_RDMA_H
  26 #define MCA_PML_OB1_RDMA_H
  27 
  28 struct mca_bml_base_endpoint_t;
  29 
  30 /*
  31  * Of the set of available btls that support RDMA,
  32  * find those that already have registrations - or
  33  * register if required (for leave_pinned option)
  34  */
  35 size_t mca_pml_ob1_rdma_btls(struct mca_bml_base_endpoint_t* endpoint,
  36     unsigned char* base, size_t size, struct mca_pml_ob1_com_btl_t* btls);
  37 
  38 /* Choose RDMA BTLs to use for sending of a request by pipeline protocol.
  39  * Calculate number of bytes to send through each BTL according to available
  40  * bandwidth */
  41 size_t mca_pml_ob1_rdma_pipeline_btls(struct mca_bml_base_endpoint_t* endpoint,
  42                 size_t size, mca_pml_ob1_com_btl_t* rdma_btls);
  43 
  44 size_t mca_pml_ob1_rdma_pipeline_btls_count (mca_bml_base_endpoint_t* bml_endpoint);
  45 
  46 #endif
  47 

/* [<][>][^][v][top][bottom][index][help] */