printf("Bad clCalloc request: %d, %d\n", nmem, size);
printf("Bad clCalloc request: %d, %d\n", (int) nmem, (int) size);
void *clCalloc(size_t nmem, size_t size){  void *ptr;  if (nmem == 0 || size == 0) {    printf("Bad clCalloc request: %d, %d\n", nmem, size);  }  assert(nmem > 0 && size > 0);  ptr =  clMalloc(nmem * size);  assert(ptr);  memset(ptr, 0, nmem * size);  return ptr;}