Comment on GPU Offload in Rust: Portable, Safe, and FastparentComments−boxed25dSeems to work out well for Mojo, so I'd guess it's more an issue with C++.−nylonstrung24dWell mojo handles it by introducing an additional step of lowering code to MLIR as an intermediate representation. Something that can be done with C++ as well−pjmlp24dIn fact, clang is in the process of adding an MLIR layer as well, ClangIR.
Comments
Seems to work out well for Mojo, so I'd guess it's more an issue with C++.
Well mojo handles it by introducing an additional step of lowering code to MLIR as an intermediate representation. Something that can be done with C++ as well
In fact, clang is in the process of adding an MLIR layer as well, ClangIR.