fixed poisson examples dependency on cuda runtime enviornment. fix motivated by helmholtz example code