Skip to content

Commit fea45a5

Browse files
committed
Merge pull request open-mpi#731 from rolfv/pr/fix-cuda-require-41-2.x
Fix a few more places that utilized CUDA 4.1 checks
2 parents 26f0608 + d9d231a commit fea45a5

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

opal/mca/btl/smcuda/configure.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# of Tennessee Research Foundation. All rights
55
# reserved.
66
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
7-
# Copyright (c) 2012-2013 NVIDIA Corporation. All rights reserved.
7+
# Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
88
# $COPYRIGHT$
99
#
1010
# Additional copyrights may follow
@@ -21,8 +21,8 @@ AC_DEFUN([MCA_opal_btl_smcuda_CONFIG],[
2121
# make sure that CUDA-aware checks have been done
2222
AC_REQUIRE([OPAL_CHECK_CUDA])
2323

24-
# Only build if CUDA 4.1 support is available
25-
AS_IF([test "x$CUDA_SUPPORT_41" = "x1"],
24+
# Only build if CUDA support is available
25+
AS_IF([test "x$CUDA_SUPPORT" = "x1"],
2626
[$1],
2727
[$2])
2828

opal/mca/common/cuda/common_cuda.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020

2121
/**
2222
* This file contains various support functions for doing CUDA
23-
* operations. Some of the features are only available in CUDA 4.1
24-
* and later, so some code is conditionalized around the
25-
* OPAL_CUDA_SUPPORT_41 macro.
23+
* operations.
2624
*/
2725
#include "opal_config.h"
2826

opal/mca/mpool/gpusm/configure.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- shell-script -*-
22
#
3-
# Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
3+
# Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
44
# $COPYRIGHT$
55
#
66
# Additional copyrights may follow
@@ -18,7 +18,7 @@ AC_DEFUN([MCA_opal_mpool_gpusm_CONFIG],[
1818
AC_CONFIG_FILES([opal/mca/mpool/gpusm/Makefile])
1919

2020
# Use CUDA_SUPPORT which was filled in by the opal configure code.
21-
AS_IF([test "x$CUDA_SUPPORT_41" = "x1"],
21+
AS_IF([test "x$CUDA_SUPPORT" = "x1"],
2222
[$1],
2323
[$2])
2424

opal/mca/mpool/rgpusm/configure.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- shell-script -*-
22
#
3-
# Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
3+
# Copyright (c) 2012-2015 NVIDIA Corporation. All rights reserved.
44
# $COPYRIGHT$
55
#
66
# Additional copyrights may follow
@@ -18,7 +18,7 @@ AC_DEFUN([MCA_opal_mpool_rgpusm_CONFIG],[
1818
AC_CONFIG_FILES([opal/mca/mpool/rgpusm/Makefile])
1919

2020
# Use CUDA_SUPPORT which was filled in by the opal configure code.
21-
AS_IF([test "x$CUDA_SUPPORT_41" = "x1"],
21+
AS_IF([test "x$CUDA_SUPPORT" = "x1"],
2222
[$1],
2323
[$2])
2424

0 commit comments

Comments
 (0)