Closed mpekalski closed 8 years ago
Pre-compile all the kernels into the same binary is not desired. I have tried on Visual Studio and ran out of heap memory. GCC might set similar limits as well. I would recommend only pre-compiling the subroutines that you will be using.
I did not know what I would be using, so I thought about giving a try to compiling everything. But thanks for confirming that it is not something wrong with my system.
For those kernels that are not precompiled, they will be compiled at run time and cached. This comes with a performance cost (for the first call of its kind) of compiling the kernel. Of course a logger that logs what routines with parameters a particular user calls and precompile only those kernels of interest would be more elegant.
Hi can we close this issue?
Yes, please.
I tried to precompile all the kernels, but I run out of memory (g++ and gcc both v5.2.1).
It is kind of funny because I have 32GB of RAM, and there were still 11GB free a second before it crashed
free -m -s1
and ulimit -v
and the CMake I used