You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Stencil, AMR, and Branch some code snippets are written by scripts. These are included in the main program. When you build the code with new command line parameters (for example, RADIUS for stencil kernels), the auto-generated code snippets do not get changed, which may lead to inconsistencies. When you first "make clean" in that directory, you may think you are starting with a clean slate, but the snippets are only removed using "make veryclean." This looked like a convenience, since in Branch it may take a long time for the script to write that code. But it can easily lead to confusion. I will fix this.
The text was updated successfully, but these errors were encountered:
For OpenCL, I generated the code on the fly because the OpenCL programming model is happy with that, whereas C++ codes have to include the header. Including the header with 2x9 stencil kernels (~90KB of code) increases compilation time significantly (a few seconds with an optimizing compiler like ICC). One could easily reduce compile-time by reducing the default maximum radius to something like 5.
I have thought about using JiT for C++, but that entails invoking the compiler, generating a shared library, then dlopen-ing the shared library, which seems like a pain. It's also not viable in a variety of scenarios, e.g. Cray machines.
In Stencil, AMR, and Branch some code snippets are written by scripts. These are included in the main program. When you build the code with new command line parameters (for example, RADIUS for stencil kernels), the auto-generated code snippets do not get changed, which may lead to inconsistencies. When you first "make clean" in that directory, you may think you are starting with a clean slate, but the snippets are only removed using "make veryclean." This looked like a convenience, since in Branch it may take a long time for the script to write that code. But it can easily lead to confusion. I will fix this.
The text was updated successfully, but these errors were encountered: