HomeSort by relevance Sort by last modified time
    Searched refs:clEnv (Results 1 - 2 of 2) sorted by null

  /external/ImageMagick/MagickCore/
opencl.c 194 static inline void RelinquishMagickCLDevices(MagickCLEnv clEnv)
199 if (clEnv->devices != (MagickCLDevice *) NULL)
201 for (i = 0; i < clEnv->number_devices; i++)
202 clEnv->devices[i]=RelinquishMagickCLDevice(clEnv->devices[i]);
203 clEnv->devices=(MagickCLDevice *) RelinquishMagickMemory(clEnv->devices);
205 clEnv->number_devices=0;
371 static void SelectOpenCLDevice(MagickCLEnv clEnv,cl_device_type type)
380 for (i = 0; i < clEnv->number_devices; i++
    [all...]
accelerate.c 214 clEnv;
216 clEnv=GetCurrentOpenCLEnv();
217 if (clEnv == (MagickCLEnv) NULL)
220 if (clEnv->enabled == MagickFalse)
223 if (InitializeOpenCL(clEnv,exception) == MagickFalse)
226 return(clEnv);
301 static MagickBooleanType LaunchHistogramKernel(MagickCLEnv clEnv,
344 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer);
345 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(ChannelType),&channel);
346 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&colorspace)
    [all...]

Completed in 155 milliseconds