openCL_library->clGetDeviceInfo(devices[j],CL_DRIVER_VERSION,0,NULL,
&length);
- device->version=AcquireQuantumMemory(length,sizeof(*device->version));
+ device->version=AcquireCriticalMemory(length*sizeof(*device->version));
openCL_library->clGetDeviceInfo(devices[j],CL_DRIVER_VERSION,length,
device->version,NULL);
/*
The root is the entire histogram.
*/
- root=(IntervalTree *) AcquireMagickMemory(sizeof(*root));
+ root=(IntervalTree *) AcquireCriticalMemory(sizeof(*root));
root->child=(IntervalTree *) NULL;
root->sibling=(IntervalTree *) NULL;
root->tau=0.0;