Re: Optimization of spread

2022-11-16 Thread Théo Cavignac via Fortran
Mikael, Thomas, Thank you very much for being so welcoming. > The source is actually more C than C++ (the fortran front-end at least). That's good to know, I am much more comfortable with C. > It requires little C++ skills, but time and willingness to decipher its > complexity. Yes, I don't expe

Re: Optimization of spread

2022-11-03 Thread Thomas Koenig via Fortran
Hi, Mikael beat me to a mail saying essentially the same things by a few minutes, so I'm just adding a few details. There are two places where inlining can be done:  * In front-end passes where the parsed fortran code is rewritten before generating the intermediary code for the optimizers.  T

Re: Optimization of spread

2022-11-03 Thread Mikael Morin
Hello, welcome, and thanks for your interest. Le 03/11/2022 à 11:48, Théo Cavignac via Fortran a écrit : Hello, I am currently writing some numerical code in Fortran 2003 and I want to use the spread intrinsic because having used NumPy heavily for the past few years, it feels natural to use suc