[ET Trac] [Einstein Toolkit] #2015: thorn Vectors does not provide a sum() reduction

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Mar 10 11:28:08 CST 2017


#2015: thorn Vectors does not provide a sum() reduction
--------------------------+-------------------------------------------------
  Reporter:  rhaas        |       Owner:                     
      Type:  enhancement  |      Status:  new                
  Priority:  minor        |   Milestone:                     
 Component:  Cactus       |     Version:  development version
Resolution:               |    Keywords:  Vectors            
--------------------------+-------------------------------------------------

Comment (by rhaas):

 Thank you. I was looking at CarpetInterp2's lagrange interpolation. See
 https://bitbucket.org/eschnett/carpet/branch/rhaas/fasterp though this has
 not yet been speed tested compared to the previous implementation.

 The sum() at the end is done via a loop over the elt function. I did a
 quick check to see what an omp simd reduction(+: var) would do and found
 that at least on my laptop it does a similar loop and no horizontal sum at
 all.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2015#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list