From: dirk Date: Sun, 19 Jun 2016 10:36:11 +0000 (+0200) Subject: Fixed calculation of the device_signature. X-Git-Tag: 7.0.2-1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33f78c858bab404ea6957f350ae2b262e5aa685a;p=imagemagick Fixed calculation of the device_signature. --- diff --git a/MagickCore/opencl.c b/MagickCore/opencl.c index ca92c771b..a740f19cd 100644 --- a/MagickCore/opencl.c +++ b/MagickCore/opencl.c @@ -2075,7 +2075,7 @@ static MagickBooleanType HasOpenCLDevices(MagickCLEnv clEnv, continue; } device_signature=signature; - device_signature=StringSignature(device->platform_name); + device_signature^=StringSignature(device->platform_name); status=CompileOpenCLKernel(device,accelerateKernelsBuffer,options, device_signature,exception); UnlockSemaphoreInfo(device->lock);