dimension and domian changed on gpu