Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/cuda/configure.ac
ViewVC logotype

Diff of /branches/cuda/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5619, Thu Jul 29 22:04:52 2021 UTC revision 5620, Fri Jul 30 20:31:57 2021 UTC
# Line 17  Line 17 
17  dnl  dnl
18  dnl set the following to the name of the branch  dnl set the following to the name of the branch
19  dnl  dnl
20  BRANCH="vis15"  BRANCH="cuda"
21  AC_SUBST(BRANCH)  AC_SUBST(BRANCH)
22    
23  dnl  dnl
# Line 358  Line 358 
358    fi    fi
359    if test x"$CUDA_HOME" != xnone ; then    if test x"$CUDA_HOME" != xnone ; then
360        CUDA_LIB="$CUDA_HOME/lib"        CUDA_LIB="$CUDA_HOME/lib"
361        AC_DEFINE([CUDA_LIB])        AC_SUBST(CUDA_LIB)
       AC_SUBST([CUDA_LIB])  
362        CPPFLAGS_CUDA="-I$CUDA_HOME/include"        CPPFLAGS_CUDA="-I$CUDA_HOME/include"
363        AC_MSG_RESULT($CUDA_LIB)        AC_MSG_RESULT([$CUDA_LIB])
364        AC_MSG_CHECKING([checking compatible CUDA version])        AC_MSG_CHECKING([checking compatible CUDA version])
365        CUDA_VERSION=m4_esyscmd_s([cat $CUDA_HOME/version.txt | cut -c 14- | cut -f1 -d "." ])        CUDA_VERSION=m4_esyscmd_s([cat $CUDA_HOME/version.txt | cut -c 14- | cut -f1 -d "." ])
366        if ((test "$CUDA_VERSION" == "9") || (test "$CUDA_VERSION" == "10") || (test "$CUDA_VERSION" == "11")) ; then        if ((test "$CUDA_VERSION" == "9") || (test "$CUDA_VERSION" == "10") || (test "$CUDA_VERSION" == "11")) ; then
# Line 435  Line 434 
434        if test x"$CUDA_HOME" != xnone ; then        if test x"$CUDA_HOME" != xnone ; then
435          HAVE_CL_H="yes"          HAVE_CL_H="yes"
436          CL_HEADER="$CUDA_HOME/include/CL/cl.h"          CL_HEADER="$CUDA_HOME/include/CL/cl.h"
         CUDA_LIB_CL="-L$CUDA_HOME/lib"  
         AC_DEFINE([CUDA_LIB_CL])  
         AC_SUBST([CUDA_LIB_CL])  
         AC_MSG_RESULT([$CUDA_LIB_CL])  
437          AC_DEFINE([HAVE_CL_CL_H])          AC_DEFINE([HAVE_CL_CL_H])
438          CPPFLAGS_CL="-I$CUDA_HOME/include"          CPPFLAGS_CL="-I$CUDA_HOME/include"
439        fi        fi

Legend:
Removed from v.5619  
changed lines
  Added in v.5620

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0