Cudamalloc

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