3 ms·
In which sense is cuda polyglot? It's a dialect of C++. Maybe you mean cuda the toolchain (driver libs, ptxas etc) as opposed to cuda the language. Shame they h
by JonChesterfield 4y ago
In which sense is cuda polyglot? It's a dialect of C++. Maybe you mean cuda the toolchain (driver libs, ptxas etc) as opposed to cuda the language. Shame they have the same name.
Anything targeting PTX via LLVM should be able to target GCN by changing flags, though that may not be totally seamless.
Things writing ptx assembly directly would be more awkward to retarget, there's no direct equivalent there.
- pjmlp 4y agoIn the sense that it officially supports C, C++ and Fortran on NVidia/PGI toolchain, plus anything else that targets PTX and there are plenty of those, like .NET, Java, Haskell, Julia. It is only a dialect of C++ for those that don't bother to read about what CUDA actually is. https://developer.nvidia.com/language-solutions https://developer.nvidia.com/language-solutions https://developer.nvidia.com/hpc-sdk https://developer.nvidia.com/hpc-sdk