From ec83964e035e09914f10507e4e9606e3e49e122c Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Thu, 29 Aug 2019 22:31:10 +0200 Subject: [PATCH] Also log the devices that have been found. --- MagickCore/opencl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MagickCore/opencl.c b/MagickCore/opencl.c index d707428ac..0ce332274 100644 --- a/MagickCore/opencl.c +++ b/MagickCore/opencl.c @@ -393,7 +393,7 @@ static void SelectOpenCLDevice(MagickCLEnv clEnv,cl_device_type type) j; (void) LogMagickEvent(AccelerateEvent,GetMagickModule(), - "Selecting OpenCL device for type: %d",(int) type); + "Selecting device for type: %d",(int) type); for (i = 0; i < clEnv->number_devices; i++) clEnv->devices[i]->enabled=MagickFalse; @@ -2407,6 +2407,8 @@ static void LoadOpenCLDevices(MagickCLEnv clEnv) sizeof(cl_ulong),&device->local_memory_size,NULL); clEnv->devices[next]=device; + (void) LogMagickEvent(AccelerateEvent,GetMagickModule(), + "Found device: %s",device->name); } } if (next != clEnv->number_devices) -- 2.40.0