JeffersonLab / qphix

QCD for Intel Xeon Phi and Xeon processors
http://jeffersonlab.github.io/qphix/
Other
13 stars 11 forks source link

Explicitly instantiate the templates #50

Closed martin-ueding closed 7 years ago

martin-ueding commented 7 years ago

I have created explicit template instantiations for all the kernels. This should speed up incremental build time significantly. The code should just #include the _def.h version and link to libqphix_solver.a.

Could you (@bjoo, @kostrzewa) please take a look at this, perhaps even try to compile it on your machine to see whether I have not missed anything?

kostrzewa commented 7 years ago

I can give it a try, but my priority right now is to finalize our interface. The client code will have to be explicitly linked against libqphix_solver.a, so I need to adjust our autoconf setup.

martin-ueding commented 7 years ago

Since the current Geometry ctor uses masterPrintf, you would already have to link against the library when using the latest devel, I fear.