cudamalloc
int * d_array;
cudamalloc((void **) &d_array, size*sizeof(int))
mrjakobdk
int * d_array;
cudamalloc((void **) &d_array, size*sizeof(int))