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

SCM Repository

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

Diff of /branches/vis12/configure.ac

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

revision 3349, Tue Oct 27 15:16:36 2015 UTC revision 3607, Tue Jan 19 14:56:36 2016 UTC
# Line 105  Line 105 
105    CL_VERSION=0    CL_VERSION=0
106  else  else
107    CL_ENABLED=true    CL_ENABLED=true
108      # we have the OpenCL library, so look for the header file
109    CPPFLAGS_CL=""    CPPFLAGS_CL=""
110    CL_HEADER=""    CL_HEADER=""
111    AC_CHECK_HEADERS([CL/cl.h OpenCL/cl.h], [HAVE_CL_H="yes"; CL_HEADER="$ac_header"; break], [HAVE_CL_H="no"])    AC_CHECK_HEADERS([CL/cl.h OpenCL/cl.h], [HAVE_CL_H="yes"; CL_HEADER="$ac_header"; break], [HAVE_CL_H="no"])
# Line 129  Line 130 
130          break          break
131        fi        fi
132      done      done
133      if test x"$CUDA" != xnone ; then      if test x"$CUDA_HOME" != xnone ; then
134        HAVE_CL_H="yes"        HAVE_CL_H="yes"
135        CL_HEADER="$CUDA_HOME/include/CL/cl.h"        CL_HEADER="$CUDA_HOME/include/CL/cl.h"
136        AC_DEFINE([HAVE_CL_CL_H])        AC_DEFINE([HAVE_CL_CL_H])

Legend:
Removed from v.3349  
changed lines
  Added in v.3607

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