Changeset 510

Show
Ignore:
Timestamp:
10/29/09 18:49:40 (3 weeks ago)
Author:
cristy
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/filters/boost.c

    r503 r510  
    1313%                               Software Design                               % 
    1414%                                 John Cristy                                 % 
    15 %                                December 1998                                % 
     15%                                November 2009                                % 
    1616%                                                                             % 
    1717%                                                                             % 
     
    3131%                                                                             % 
    3232%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     33% 
     34% Boost certain algorithms by executing in concert across heterogeneous 
     35% platforms consisting of CPUs, GPUs, and other processors (in development). 
    3336% 
    3437*/ 
     
    7679  const char **argv,ExceptionInfo *exception) 
    7780{ 
    78   (void) images; 
     81  assert(images != (Image **) NULL); 
     82  assert(*images != (Image *) NULL); 
     83  assert((*images)->signature == MagickSignature); 
     84#if !defined(MAGICKCORE_OPENCL_SUPPORT) 
    7985  (void) argc; 
    8086  (void) argv; 
    81   (void) exception; 
     87  (void) ThrowMagickException(exception,GetMagickModule(),MissingDelegateError, 
     88    "DelegateLibrarySupportNotBuiltIn","`%s' (OpenCL)",(*images)->filename); 
     89#else 
     90  { 
     91    Image 
     92      *image; 
     93 
     94    (void) argc; 
     95    (void) argv; 
     96    (void) exception; 
     97  } 
     98#endif 
    8299  return(MagickImageFilterSignature); 
    83100}