return(device->name);
}
+/*
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% %
+% %
+% G e t O p e n C L D e v i c e V e n d o r N a m e %
+% %
+% %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% GetOpenCLDeviceVendorName() returns the vendor name of the device.
+%
+% The format of the GetOpenCLDeviceVendorName method is:
+%
+% const char *GetOpenCLDeviceVendorName(const MagickCLDevice device)
+%
+% A description of each parameter follows:
+%
+% o device: the OpenCL device.
+*/
+
+MagickExport const char *GetOpenCLDeviceVendorName(const MagickCLDevice device)
+{
+ if (device == (MagickCLDevice) NULL)
+ return((const char *) NULL);
+ return(device->vendor_name);
+}
+
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
extern MagickExport const char
*GetOpenCLDeviceName(const MagickCLDevice),
+ *GetOpenCLDeviceVendorName(const MagickCLDevice),
*GetOpenCLDeviceVersion(const MagickCLDevice);
extern MagickExport const KernelProfileRecord