Comment Comment by curiousmindz In C#, you can write (pseudo-code): if (AVX2) { ... } else if (SSE) { ... } else ...Then, when you run the program, the JIT will pick the first supported option and eliminate the other ones. parent curiousmindz 3 years ago
Then, when you run the program, the JIT will pick the first supported option and eliminate the other ones.