socsa@piefed.social 3 weeks ago
This is called compute dispatching and is super common. I have done a whole bunch of DSP implementations where you use a CUDA or AVX kernel depending on availability. Or you dispatch to standard library or even Python kernel otherwise.
danielhanrahantng@beehaw.org 3 weeks ago
Do you think compute dispatching is worth it for my video games.