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

SCM Repository

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

Diff of /branches/vis15/configure.ac

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

revision 4239, Wed Jul 20 18:19:49 2016 UTC revision 4306, Fri Jul 29 19:22:49 2016 UTC
# Line 257  Line 257 
257    
258  #################### CUDA configuration ####################  #################### CUDA configuration ####################
259    
260    AC_ARG_ENABLE([cuda],
261      AC_HELP_STRING([--enable-cuda], [include support for targeting CUDA]))
262    
263    if test "${enable_cuda+set}" = set ; then
264  dnl  dnl
265  dnl Look for NVIDIA's nvcc compiler  dnl Look for NVIDIA's nvcc compiler
266  dnl  dnl
# Line 270  Line 274 
274    AC_MSG_RESULT([$NVCC])    AC_MSG_RESULT([$NVCC])
275    CUDA_ENABLED=true    CUDA_ENABLED=true
276  fi  fi
277    else
278      NVCC=":"
279      CUDA_ENABLED=false
280    fi
281  AC_SUBST(NVCC)  AC_SUBST(NVCC)
282  AC_SUBST(CUDA_ENABLED)  AC_SUBST(CUDA_ENABLED)
283    
# Line 277  Line 285 
285    
286  #################### OpenCL configuration ####################  #################### OpenCL configuration ####################
287    
288    AC_ARG_ENABLE([opencl],
289      AC_HELP_STRING([--enable-opencl], [include support for targeting OpenCL]))
290    
291    if test "${enable_opencl+set}" = set ; then
292    
293  dnl  dnl
294  dnl check for OpenCL support  dnl check for OpenCL support
295  dnl  dnl
# Line 395  Line 408 
408    SIZEOF_CL_DOUBLE=$ac_cv_sizeof_cl_double    SIZEOF_CL_DOUBLE=$ac_cv_sizeof_cl_double
409    fi    fi
410  fi  fi
411    else
412      CL_ENABLED=false
413      CL_VERSION="0"
414      SIZEOF_CL_INT="0"
415      SIZEOF_CL_LONG="0"
416      SIZEOF_CL_FLOAT="0"
417      SIZEOF_CL_DOUBLE="0"
418    fi
419    
420  AC_SUBST(CL_ENABLED)  AC_SUBST(CL_ENABLED)
421  AC_SUBST(CL_VERSION)  AC_SUBST(CL_VERSION)
422  AC_DEFINE_UNQUOTED(DIDEROT_CL_VERSION,[$CL_VERSION],[version of OpenCL supported by system])  AC_DEFINE_UNQUOTED(DIDEROT_CL_VERSION,[$CL_VERSION],[version of OpenCL supported by system])
# Line 549  Line 571 
571  fi  fi
572  AC_SUBST(SML)  AC_SUBST(SML)
573    
574  #################### SML configuration ####################  #################### end SML configuration ####################
575    
576  #################### Documentation tools configuration ####################  #################### Documentation tools configuration ####################
577    

Legend:
Removed from v.4239  
changed lines
  Added in v.4306

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