3 ms·
Sure, but if this abstraction layer becomes popular, then it becomes much easier to support other GPUs without requiring client libraries to change, which is a
by yumraj 5y ago
Sure, but if this abstraction layer becomes popular, then it becomes much easier to support other GPUs without requiring client libraries to change, which is a much harder problem.
- dragontamer 5y agoA big reason why CUDA is popular with compilers is that the PTX assembly-ish language is well documented and reasonable. Compilers generate PTX, then the rest of the CUDA infrastructure turns PTX into Turing machine code, or Ampere machine code, or Pascal machine code. In theory, SPIR-V should do the same job, but its just not as usable right now. In the meantime, getting it to work on PTX is easier, and then there's probably hope (in the far future) to move to SPIR-V if that ever actually takes off. I'm not a developer on Triton, but that'd be my expectation.
- pjmlp 5y agoPTX and the immense tooling around CUDA. Khronos mindset of it must be C like and parterns will take care of the ecosystem is what doomed OpenCL. All of their API design endevours are "design by committe" at its best. No wonder that SYSCL is now backend agnostic.