char
geometry[MagickPathExtent];
- cl_int
- status;
-
cl_mem
imageKernelBuffer;
cl_kernel
contrastKernel;
- cl_event
- event;
-
cl_mem
imageBuffer;
{
p=GetVirtualPixels(image1,x,0,1,image1->rows,exception);
q=GetVirtualPixels(image2,x,0,1,image2->rows,exception);
- if ((p == (const Quantum *) NULL) ||
- (q == (Quantum *) NULL))
+ if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL))
break;
for (y=0; y < (ssize_t) image1->rows; y++)
{
{
p=GetVirtualPixels(image1,x,0,1,image1->rows,exception);
q=GetVirtualPixels(image2,x,0,1,image2->rows,exception);
- if ((p == (const Quantum *) NULL) ||
- (q == (Quantum *) NULL))
+ if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL))
break;
for (y=0; y < (ssize_t) image1->rows; y++)
{
{
p=GetVirtualPixels(image1,0,y,image1->columns,1,exception);
q=GetVirtualPixels(image2,0,y,image2->columns,1,exception);
- if ((p == (const Quantum *) NULL) ||
- (q == (Quantum *) NULL))
+ if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL))
break;
for (x=0; x < (ssize_t) image1->columns; x++)
{
{
p=GetVirtualPixels(image1,0,y,image1->columns,1,exception);
q=GetVirtualPixels(image2,0,y,image2->columns,1,exception);
- if ((p == (const Quantum *) NULL) ||
- (q == (Quantum *) NULL))
+ if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL))
break;
for (x=0; x < (ssize_t) image1->columns; x++)
{
#include "MagickCore/utility-private.h"
#if defined(MAGICKCORE_OPENCL_SUPPORT)
+#if defined(MAGICKCORE_LTDL_DELEGATE)
+#include "ltdl.h"
+#endif
#ifndef MAGICKCORE_WINDOWS_SUPPORT
#include <dlfcn.h>
}
(void) FormatLocaleString(filename,MagickPathExtent,
"%s%s%s_%s_%08x_%.20g.bin",GetOpenCLCacheDirectory(),
- DirectorySeparator,"magick_opencl",deviceName,signature,
+ DirectorySeparator,"magick_opencl",deviceName,(unsigned int) signature,
(double) sizeof(char*)*8);
loaded=LoadCachedOpenCLKernel(device,filename);
if (loaded == MagickFalse)
/* Define if you have LQR library */
#undef LQR_DELEGATE
-/* Define if using libltdl to support dynamically loadable modules */
+/* Define if using libltdl to support dynamically loadable modules and OpenCL
+ */
#undef LTDL_DELEGATE
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ImageMagick 7.0.7-11.
+# Generated by GNU Autoconf 2.69 for ImageMagick 7.0.7-12.
#
# Report bugs to <https://github.com/ImageMagick/ImageMagick/issues>.
#
# Identity of this package.
PACKAGE_NAME='ImageMagick'
PACKAGE_TARNAME='ImageMagick'
-PACKAGE_VERSION='7.0.7-11'
-PACKAGE_STRING='ImageMagick 7.0.7-11'
+PACKAGE_VERSION='7.0.7-12'
+PACKAGE_STRING='ImageMagick 7.0.7-12'
PACKAGE_BUGREPORT='https://github.com/ImageMagick/ImageMagick/issues'
PACKAGE_URL='https://www.imagemagick.org'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures ImageMagick 7.0.7-11 to adapt to many kinds of systems.
+\`configure' configures ImageMagick 7.0.7-12 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of ImageMagick 7.0.7-11:";;
+ short | recursive ) echo "Configuration of ImageMagick 7.0.7-12:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-ImageMagick configure 7.0.7-11
+ImageMagick configure 7.0.7-12
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by ImageMagick $as_me 7.0.7-11, which was
+It was created by ImageMagick $as_me 7.0.7-12, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='ImageMagick'
- VERSION='7.0.7-11'
+ VERSION='7.0.7-12'
cat >>confdefs.h <<_ACEOF
MAGICK_MICRO_VERSION=7
-MAGICK_PATCHLEVEL_VERSION=11
+MAGICK_PATCHLEVEL_VERSION=12
-MAGICK_VERSION=7.0.7-11
+MAGICK_VERSION=7.0.7-12
-MAGICK_GIT_REVISION=21613:7be0c046e:20171105
+MAGICK_GIT_REVISION=21636:315d854ad:20171112
# Substitute library versioning
with_ltdl='yes'
have_ltdl='no'
LTDL_LIBS=''
-if test "$build_modules" != 'no' ; then
+if test "$build_modules" != 'yes' || test "$enable_opencl" != 'no' ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
$as_echo "-------------------------------------------------------------" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libltdl" >&5
if test "$have_ltdl" != 'yes' ; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 1 "libltdl is required for modules build
+as_fn_error 1 "libltdl is required for modules and OpenCL builds
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by ImageMagick $as_me 7.0.7-11, which was
+This file was extended by ImageMagick $as_me 7.0.7-12, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-ImageMagick config.status 7.0.7-11
+ImageMagick config.status 7.0.7-12
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
m4_define([magick_major_version], [7])
m4_define([magick_minor_version], [0])
m4_define([magick_micro_version], [7])
-m4_define([magick_patchlevel_version], [11])
+m4_define([magick_patchlevel_version], [12])
m4_define([magick_version],
[magick_major_version.magick_minor_version.magick_micro_version-magick_patchlevel_version])
m4_define([magick_git_revision], esyscmd([sh -c "(gitversion.sh .) | tr -d '\n'"]))
with_ltdl='yes'
have_ltdl='no'
LTDL_LIBS=''
-if test "$build_modules" != 'no' ; then
+if test "$build_modules" != 'yes' || test "$enable_opencl" != 'no' ; then
AC_MSG_RESULT([-------------------------------------------------------------])
AC_MSG_CHECKING([for libltdl])
AC_MSG_RESULT([])
else
LTDL_LIBS='-lltdl'
LIBS="$LTDL_LIBS $LIBS"
- AC_DEFINE(LTDL_DELEGATE,1,[Define if using libltdl to support dynamically loadable modules])
+ AC_DEFINE(LTDL_DELEGATE,1,[Define if using libltdl to support dynamically loadable modules and OpenCL])
AC_MSG_RESULT([yes])
have_ltdl='yes'
fi
AC_MSG_RESULT([no])
fi
if test "$have_ltdl" != 'yes' ; then
- AC_MSG_FAILURE([libltdl is required for modules build],[1])
+ AC_MSG_FAILURE([libltdl is required for modules and OpenCL builds],[1])
fi
fi
AM_CONDITIONAL(WITH_LTDL, test "$have_ltdl" != 'no')
PACKAGE_VERSION='7.0.7'
PACKAGE_PERL_VERSION='7.07'
PACKAGE_LIB_VERSION="0x707"
-PACKAGE_RELEASE="11"
+PACKAGE_RELEASE="12"
PACKAGE_LIB_VERSION_NUMBER="7,0,7,${PACKAGE_RELEASE}"
PACKAGE_RELEASE_DATE_RAW=`date +%F`
PACKAGE_RELEASE_DATE_REPRODUCIBLE="${PACKAGE_CHANGE_DATE}"