How to get the functionality/features of calloc with malloc function. i.e. is there additional function available in C, that allows:
calloc = malloc + additional function
Description: The objective is to port(Parallelize) the C program package from CPU to NVIDIA GPU CUDA Architecture. The calloc function, used in the program can't be used on the CUDA kernels. Is there a way-out here instead of initializing structure parameters manually to zero?