3 ms·
Does AMD have a solution to forward device combatibility (like PTX for NVidia)? Last time I looked into ROCm (two years ago?), you seemed to have to compile st
by pixelesque 3y ago
Does AMD have a solution to forward device combatibility (like PTX for NVidia)?
Last time I looked into ROCm (two years ago?), you seemed to have to compile stuff explicitly for the architecture you were using, so if a new card came out, you couldn't use it without a recompile.
- mnau 3y agoNot natively, but AdaptiveCpp (previously hiSycl, then OpenSycl) has a single source single compiler pass, where they basically store LLVM IR as an intermediate representation. https://github.com/AdaptiveCpp/AdaptiveCpp/blob/develop/doc/compilation.md https://github.com/AdaptiveCpp/AdaptiveCpp/blob/develop/doc/... Performance penalty was within ew precents, at least according to the paper (figure 9 and 10) https://cdrdv2-public.intel.com/786536/Heidelberg_IWOCL__SYCLCon_2023_paper_2566-1.pdf https://cdrdv2-public.intel.com/786536/Heidelberg_IWOCL__SYC...
- einpoklum 3y agoI don't know what they do with ROCm, but with OpenCL, the answer is: Certainly. It's called SPIR: https://www.khronos.org/spir/ https://www.khronos.org/spir/