/* * 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 #include #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; }