root/ompi/mpiext/cuda/c/mpiext_cuda.c

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

DEFINITIONS

This source file includes following definitions.
  1. MPIX_Query_cuda_support

   1 /*
   2  * Copyright (c) 2004-2009 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2010-2012 Cisco Systems, Inc.  All rights reserved.
   6  * Copyright (c) 2010      Oracle and/or its affiliates.  All rights reserved.
   7  * Copyright (c) 2012      Los Alamos National Security, LLC.  All rights
   8  *                         reserved.
   9  * Copyright (c) 2015      NVIDIA, Inc. All rights reserved.
  10  * $COPYRIGHT$
  11  *
  12  * Additional copyrights may follow
  13  *
  14  * $HEADER$
  15  *
  16  */
  17 
  18 #include "ompi_config.h"
  19 
  20 #include <stdio.h>
  21 #include <string.h>
  22 
  23 #include "opal/constants.h"
  24 #include "ompi/mpiext/cuda/c/mpiext_cuda_c.h"
  25 
  26 /* If CUDA-aware support is configured in, return 1. Otherwise, return 0.
  27  * This API may be extended to return more features in the future. */
  28 int MPIX_Query_cuda_support(void)
  29 {
  30     return OPAL_CUDA_SUPPORT;
  31 }

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