1
1
openmpi/ompi/mpiext/cuda/c/mpiext_cuda.c
2015-08-05 17:23:55 -04:00

32 строки
951 B
C

/*
* Copyright (c) 2004-2009 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2015 NVIDIA, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*
*/
#include "ompi_config.h"
#include <stdio.h>
#include <string.h>
#include "opal/constants.h"
#include "ompi/mpiext/cuda/c/mpiext_cuda_c.h"
/* If CUDA-aware support is configured in, return 1. Otherwise, return 0.
* This API may be extended to return more features in the future. */
int MPIX_Query_cuda_support(void)
{
return OPAL_CUDA_SUPPORT;
}