// Create space for on the device * device_ = 0; cudaMalloc((void**)&device_, *sizeof()); cudaMemset((void*)device_, 0, *sizeof());