if cuda_capable True, we could just return so it doesn't hurt to run this function more than once