> On May 23, 2015, at 12:46 PM, Ben Goodrich <
goodri...@gmail.com> wrote:
>
> On Saturday, May 23, 2015 at 10:26:45 AM UTC-4, Ido Rosen wrote:
> It looks like it precompiles headers and/or TU/CUs? If you've tried
> it zapcc, how does it compare to using ccache, which has existed for
> longer and is free?
>
> Stan's unit tests have historically not worked great with ccache because the -M resulted in a lot of ccache misses. This might be worth buying for Jenkins / Yeti once it is released, although I am surprised that they claim to have Windows support when clang++ does not yet claim to have full Windows support.
I'd never heard of ccache, but something that would speed up model
compilation times would be awesome. I saw on the ccache page:
* Only knows how to cache the compilation of a single C/C++/Objective-C/Objective-C++ file.
Other types of compilations (multi-file compilation, linking, etc) will silently fall back
to running the real compiler.
> Speaking of compilers and runtime speed, has anyone tried building
> Stan using the Intel compiler suite (ICPC)[0], or using ICL (Clang++
> frontend, Intel compiler backend[1])? (It's not free, but I'm pretty
> sure Columbia has a license for it somewhere.)
>
> A long time ago and it didn't result in much execution time saved (then) because almost all the Intel optimizations are for doubles rather than custom types.
It might be better now that we offload more to
the matrix libs as pure double operations. We'll probably
be doing much more of this going forward, too.
- Bob