ocl_pmalloc - replaced malloc with calloc