4 ms·
Worth noting that cuda seems prone to using inline ptx assembly and that latter is really obnoxious to deal with on other platforms. Implementing programming l
by JonChesterfield 3y ago
Worth noting that cuda seems prone to using inline ptx assembly and that latter is really obnoxious to deal with on other platforms.
Implementing programming languages and runtimes is pretty difficult in general. Note that cuda doesn't have the same semantics as c++ despite looking kind of similar. Wherever you differ from expected behaviour people consider it a bug, and implementing based on cuda's docs wouldn't get you the behaviour people expect.
Pretty horrendous task overall. It would be much better for people to stop developing programs that only run on a gnarly proprietary language.
- pjmlp 3y agoCUDA was redesigned to follow C++'s memory model introduced in C++11, yet another compatibility pain point with other hardware vendors.