For some kernels, we require a runtime if-else to determine which implementation variant to use based on a flag. We could just as easily use a "constexpr" on a template parameter to determine this at compile time, reducing the number of kernels (i.e. maintenance overhead).
For some kernels, we require a runtime if-else to determine which implementation variant to use based on a flag. We could just as easily use a "constexpr" on a template parameter to determine this at compile time, reducing the number of kernels (i.e. maintenance overhead).