diff --git a/notes/Copy-and-Patch Compilation.md b/notes/Copy-and-Patch Compilation.md index e4f52e0..d835968 100644 --- a/notes/Copy-and-Patch Compilation.md +++ b/notes/Copy-and-Patch Compilation.md @@ -36,8 +36,8 @@ MetaVar constructs the stencil library from programmer defined *stencil generato At compile time, the compiler iterates over the values of the meta-variables and creates a library entry for every valid combination. -### Stencil Generators -Stencil generators are templated C++ functions whose template instantiations produce stencils. +### Compile time +Stencil generators are templated C++ functions whose template instantiations produce stencils. At "runtime", the generator will perform tree pattern matching to determine the correct variant, then complete a hash table lookup to retrieve the stencil, then copy it to the output. # Terminology