▲ | totalperspectiv a day ago | |
They allow you to write a kernel for Nvidia, or AMD, that can take full advantage of the Hardware of either one, then throw a compile time if-statement in there to switch which kernel to use based on the hardware available. So, you can support either vendor with as-good-vendor-library performance. That’s not lock-in to me at least. It’s not as good as the compiler being able to just magically produce optimized kernels for arbitrary hardware though, fully agree there. But it’s a big step forward from Cuda/HIP. |