]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 20 Sep 2009 22:59:24 +0000 (22:59 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 20 Sep 2009 22:59:24 +0000 (22:59 +0000)
magick/studio.h
wand/studio.h

index c9b9bf5dfa5cea96fcf9b308b9b914492a7a8b8e..a9e3465d11e2f5a80a239ca172affd99a91a797e 100644 (file)
@@ -199,6 +199,16 @@ extern "C" {
 # include <arm/limits.h>
 #endif
 
+#if defined(HAVE_CL_CL_H)
+#  include <CL/cl.h>
+#  define MAGICKCORE_OPENCL_SUPPORT  1
+#endif
+
+#if defined(HAVE_OPENCL_CL_H)
+#  include <OpenCL/cl.h>
+#  define MAGICKCORE_OPENCL_SUPPORT  1
+#endif
+
 #if defined(_OPENMP) && (_OPENMP >= 200203)
 #  include <omp.h>
 #endif
index 69d3debd9bab6315dba4f73125025070b01ae3bb..9fb92f0aafdd6cb745c8c3df0b4e8f4e8fc57958 100644 (file)
@@ -199,6 +199,16 @@ extern "C" {
 # include <arm/limits.h>
 #endif
 
+#if defined(HAVE_CL_CL_H)
+#  include <CL/cl.h>
+#  define MAGICKCORE_OPENCL_SUPPORT  1
+#endif
+
+#if defined(HAVE_OPENCL_CL_H)
+#  include <OpenCL/cl.h>
+#  define MAGICKCORE_OPENCL_SUPPORT  1
+#endif
+
 #if defined(_OPENMP) && (_OPENMP >= 200203)
 #  include <omp.h>
 #endif