Fix a few more places that utilized CUDA 4.1 checks
Этот коммит содержится в:
родитель
578385ca78
Коммит
2e2e175f13
@ -4,7 +4,7 @@
|
|||||||
# of Tennessee Research Foundation. All rights
|
# of Tennessee Research Foundation. All rights
|
||||||
# reserved.
|
# reserved.
|
||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2012-2013 NVIDIA Corporation. All rights reserved.
|
# Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -21,8 +21,8 @@ AC_DEFUN([MCA_opal_btl_smcuda_CONFIG],[
|
|||||||
# make sure that CUDA-aware checks have been done
|
# make sure that CUDA-aware checks have been done
|
||||||
AC_REQUIRE([OPAL_CHECK_CUDA])
|
AC_REQUIRE([OPAL_CHECK_CUDA])
|
||||||
|
|
||||||
# Only build if CUDA 4.1 support is available
|
# Only build if CUDA support is available
|
||||||
AS_IF([test "x$CUDA_SUPPORT_41" = "x1"],
|
AS_IF([test "x$CUDA_SUPPORT" = "x1"],
|
||||||
[$1],
|
[$1],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
|
@ -20,9 +20,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file contains various support functions for doing CUDA
|
* This file contains various support functions for doing CUDA
|
||||||
* operations. Some of the features are only available in CUDA 4.1
|
* operations.
|
||||||
* and later, so some code is conditionalized around the
|
|
||||||
* OPAL_CUDA_SUPPORT_41 macro.
|
|
||||||
*/
|
*/
|
||||||
#include "opal_config.h"
|
#include "opal_config.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- shell-script -*-
|
# -*- shell-script -*-
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
|
# Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -18,7 +18,7 @@ AC_DEFUN([MCA_opal_mpool_gpusm_CONFIG],[
|
|||||||
AC_CONFIG_FILES([opal/mca/mpool/gpusm/Makefile])
|
AC_CONFIG_FILES([opal/mca/mpool/gpusm/Makefile])
|
||||||
|
|
||||||
# Use CUDA_SUPPORT which was filled in by the opal configure code.
|
# Use CUDA_SUPPORT which was filled in by the opal configure code.
|
||||||
AS_IF([test "x$CUDA_SUPPORT_41" = "x1"],
|
AS_IF([test "x$CUDA_SUPPORT" = "x1"],
|
||||||
[$1],
|
[$1],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# -*- shell-script -*-
|
# -*- shell-script -*-
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
|
# Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -18,7 +18,7 @@ AC_DEFUN([MCA_opal_mpool_rgpusm_CONFIG],[
|
|||||||
AC_CONFIG_FILES([opal/mca/mpool/rgpusm/Makefile])
|
AC_CONFIG_FILES([opal/mca/mpool/rgpusm/Makefile])
|
||||||
|
|
||||||
# Use CUDA_SUPPORT which was filled in by the opal configure code.
|
# Use CUDA_SUPPORT which was filled in by the opal configure code.
|
||||||
AS_IF([test "x$CUDA_SUPPORT_41" = "x1"],
|
AS_IF([test "x$CUDA_SUPPORT" = "x1"],
|
||||||
[$1],
|
[$1],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user