Re: [eigen] RFC: making a deterministic and reproducable product codepath with Eigen |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] RFC: making a deterministic and reproducable product codepath with Eigen
- From: Rasmus Larsen <rmlarsen@xxxxxxxxxx>
- Date: Fri, 9 Sep 2016 08:38:10 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0EFvTFuCLbzYBF1Y2u76iG42VTLGUyQYv8mwVnTBqog=; b=Rjj3fnhedhbgksGZqb4G/bFCBvnF3eU6hfcGE7hyZshDe/BjZ4Go75VXHXJpnbLeIz tTqRq9w4Al3UtlUJaeaauBlQlA6nw/lL2Jb1eCbJr+1BF2OjsdB90YBRJdXd+tWh9lHb EZfBTAZTGRPg8HelkyxtULww3LaZ/c7bPhVgFSaCCf7DxeezLAdow32YkQsj6rUngTjn eLyvivmQYGkWW8cj3rr0zMglSv7OgZzkgSJJpXCuMvxTdEjIBwnOiDRcEaTf0wVs8gZg bmz22FX0eX7WfU+j1jDeHCsUQQioOi/GtlBkhZZAPxxHS90B7jL3neQX7X36+EtAdzee 3H4g==
Just to throw in my 2 cents (mostly in the context of linear algebra): I understand that some perceive a great benefit of having 100% reproducible and deterministic computations, but I don't think it is realistic or even particularly useful in a parallel or multi-threaded environment, unless you want to grossly sacrifice performance. In my practical experience, this idea often comes from a desire to get predictable outcomes of regressions tests written without proper knowledge of the mathematics of the problem, i.e. error analysis. I have found time and time again that looking up the correct error bound in the literature (or deriving it) and possibly adding a small fudge factor solves such problems in a way that might even yield useful insights.